home *** CD-ROM | disk | FTP | other *** search
/ Linux Cubed Series 3: Developer Tools / Linux Cubed Series 3 - Developer Tools.iso / devel / lang / fortran / pgplot5.1 / pgplot5
Tape Archive  |  1996-05-13  |  2.5 MB

open in: MacOS 8.1     |     Win98     |     DOS

view JSON data     |     view as text

This file was processed as: Tape Archive (archive/tar).

You can browse this item here: pgplot5

ConfidenceProgramDetectionMatch TypeSupport
100% dexvert Tape Archive (archive/tar) magic Supported
100% file POSIX tar archive (GNU) default
99% file POSIX tar archive (GNU), directory pgplot5.1.0/, mode 40755 , uid 0 , gid 0 , size 0 , seconds 6145627426, user root, group root default
98% file data default
62% TrID TAR - Tape ARchive (GNU) default
37% TrID TAR - Tape ARchive (directory) default
100% siegfried x-fmt/265 Tape Archive Format default
100% lsar Tar default
100% gt2 TAR Archiv gefunden (Auflistung ist deaktiviert) default
100% disktype GNU tar archive default
100% detectItEasy Archive: tar default
100% binwalkID POSIX tar archive (GNU), owner user name: "1.0/" default
100% xdgMime application/x-tar default



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 70 67 70 6c 6f 74 35 2e | 31 2e 30 2f 00 00 00 00 |pgplot5.|1.0/....|
|00000010| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000050| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000060| 00 00 00 00 20 34 30 37 | 35 35 20 00 20 20 20 20 |.... 407|55 . |
|00000070| 20 30 20 00 20 20 20 20 | 20 30 20 00 20 20 20 20 | 0 . | 0 . |
|00000080| 20 20 20 20 20 20 30 20 | 20 36 31 34 35 36 32 37 | 0 | 6145627|
|00000090| 34 32 36 20 20 31 30 37 | 34 33 00 20 35 00 00 00 |426 107|43. 5...|
|000000a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000000b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000000c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000000d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000000e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000000f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000100| 00 75 73 74 61 72 20 20 | 00 72 6f 6f 74 00 00 00 |.ustar |.root...|
|00000110| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000120| 00 00 00 00 00 00 00 00 | 00 72 6f 6f 74 00 00 00 |........|.root...|
|00000130| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000140| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000150| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000160| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000170| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000180| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000190| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000200| 70 67 70 6c 6f 74 35 2e | 31 2e 30 2f 64 6f 63 2f |pgplot5.|1.0/doc/|
|00000210| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000220| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000230| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000240| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000250| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000260| 00 00 00 00 20 34 30 37 | 35 35 20 00 20 20 20 20 |.... 407|55 . |
|00000270| 20 30 20 00 20 20 20 20 | 20 30 20 00 20 20 20 20 | 0 . | 0 . |
|00000280| 20 20 20 20 20 20 30 20 | 20 36 31 34 35 36 32 33 | 0 | 6145623|
|00000290| 35 31 36 20 20 31 31 35 | 30 34 00 20 35 00 00 00 |516 115|04. 5...|
|000002a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000300| 00 75 73 74 61 72 20 20 | 00 72 6f 6f 74 00 00 00 |.ustar |.root...|
|00000310| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000320| 00 00 00 00 00 00 00 00 | 00 72 6f 6f 74 00 00 00 |........|.root...|
|00000330| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000340| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000350| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000360| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000370| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000380| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000390| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000003a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000003b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000003c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000003d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000003e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000003f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000400| 70 67 70 6c 6f 74 35 2e | 31 2e 30 2f 64 6f 63 2f |pgplot5.|1.0/doc/|
|00000410| 70 67 70 6c 6f 74 2e 64 | 6f 63 00 00 00 00 00 00 |pgplot.d|oc......|
|00000420| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000430| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000440| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000450| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000460| 00 00 00 00 31 30 30 36 | 34 34 20 00 20 20 20 20 |....1006|44 . |
|00000470| 20 30 20 00 20 20 20 20 | 20 30 20 00 20 20 20 20 | 0 . | 0 . |
|00000480| 20 34 32 35 37 34 32 20 | 20 36 31 34 35 36 30 35 | 425742 | 6145605|
|00000490| 31 34 37 20 20 31 33 36 | 35 33 00 20 30 00 00 00 |147 136|53. 0...|
|000004a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000500| 00 75 73 74 61 72 20 20 | 00 72 6f 6f 74 00 00 00 |.ustar |.root...|
|00000510| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000520| 00 00 00 00 00 00 00 00 | 00 72 6f 6f 74 00 00 00 |........|.root...|
|00000530| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000540| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000550| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000560| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000570| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000580| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000590| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000600| 50 47 50 4c 4f 54 20 47 | 52 41 50 48 49 43 53 20 |PGPLOT G|RAPHICS |
|00000610| 53 55 42 52 4f 55 54 49 | 4e 45 20 4c 49 42 52 41 |SUBROUTI|NE LIBRA|
|00000620| 52 59 20 56 65 72 73 69 | 6f 6e 20 35 2e 31 0a 0a |RY Versi|on 5.1..|
|00000630| 50 47 50 4c 4f 54 20 69 | 73 20 61 20 46 6f 72 74 |PGPLOT i|s a Fort|
|00000640| 72 61 6e 20 73 75 62 72 | 6f 75 74 69 6e 65 20 70 |ran subr|outine p|
|00000650| 61 63 6b 61 67 65 20 66 | 6f 72 20 64 72 61 77 69 |ackage f|or drawi|
|00000660| 6e 67 20 67 72 61 70 68 | 73 20 6f 6e 20 61 20 76 |ng graph|s on a v|
|00000670| 61 72 69 65 74 79 0a 6f | 66 20 64 69 73 70 6c 61 |ariety.o|f displa|
|00000680| 79 20 64 65 76 69 63 65 | 73 2e 20 46 6f 72 20 6d |y device|s. For m|
|00000690| 6f 72 65 20 64 65 74 61 | 69 6c 73 2c 20 73 65 65 |ore deta|ils, see|
|000006a0| 20 74 68 65 20 6d 61 6e | 75 61 6c 20 60 60 50 47 | the man|ual ``PG|
|000006b0| 50 4c 4f 54 20 47 72 61 | 70 68 69 63 73 0a 53 75 |PLOT Gra|phics.Su|
|000006c0| 62 72 6f 75 74 69 6e 65 | 20 4c 69 62 72 61 72 79 |broutine| Library|
|000006d0| 27 27 20 61 76 61 69 6c | 61 62 6c 65 20 66 72 6f |'' avail|able fro|
|000006e0| 6d 20 54 2e 20 4a 2e 20 | 50 65 61 72 73 6f 6e 0a |m T. J. |Pearson.|
|000006f0| 28 74 6a 70 40 61 73 74 | 72 6f 2e 63 61 6c 74 65 |(tjp@ast|ro.calte|
|00000700| 63 68 2e 65 64 75 29 2e | 0a 0a 49 4e 44 45 58 20 |ch.edu).|..INDEX |
|00000710| 4f 46 20 52 4f 55 54 49 | 4e 45 53 0a 0a 50 47 41 |OF ROUTI|NES..PGA|
|00000720| 52 52 4f 20 2d 2d 20 64 | 72 61 77 20 61 6e 20 61 |RRO -- d|raw an a|
|00000730| 72 72 6f 77 0a 50 47 41 | 53 4b 20 2d 2d 20 63 6f |rrow.PGA|SK -- co|
|00000740| 6e 74 72 6f 6c 20 6e 65 | 77 20 70 61 67 65 20 70 |ntrol ne|w page p|
|00000750| 72 6f 6d 70 74 69 6e 67 | 0a 50 47 42 41 4e 44 20 |rompting|.PGBAND |
|00000760| 2d 2d 20 72 65 61 64 20 | 63 75 72 73 6f 72 20 70 |-- read |cursor p|
|00000770| 6f 73 69 74 69 6f 6e 2c | 20 77 69 74 68 20 61 6e |osition,| with an|
|00000780| 63 68 6f 72 0a 50 47 42 | 42 55 46 20 2d 2d 20 62 |chor.PGB|BUF -- b|
|00000790| 65 67 69 6e 20 62 61 74 | 63 68 20 6f 66 20 6f 75 |egin bat|ch of ou|
|000007a0| 74 70 75 74 20 28 62 75 | 66 66 65 72 29 0a 50 47 |tput (bu|ffer).PG|
|000007b0| 42 45 47 20 2d 2d 20 62 | 65 67 69 6e 20 50 47 50 |BEG -- b|egin PGP|
|000007c0| 4c 4f 54 2c 20 6f 70 65 | 6e 20 6f 75 74 70 75 74 |LOT, ope|n output|
|000007d0| 20 64 65 76 69 63 65 0a | 50 47 42 49 4e 20 2d 2d | device.|PGBIN --|
|000007e0| 20 68 69 73 74 6f 67 72 | 61 6d 20 6f 66 20 62 69 | histogr|am of bi|
|000007f0| 6e 6e 65 64 20 64 61 74 | 61 0a 50 47 42 4f 58 20 |nned dat|a.PGBOX |
|00000800| 2d 2d 20 64 72 61 77 20 | 6c 61 62 65 6c 65 64 20 |-- draw |labeled |
|00000810| 66 72 61 6d 65 20 61 72 | 6f 75 6e 64 20 76 69 65 |frame ar|ound vie|
|00000820| 77 70 6f 72 74 0a 50 47 | 43 49 52 43 20 2d 2d 20 |wport.PG|CIRC -- |
|00000830| 64 72 61 77 20 61 20 66 | 69 6c 6c 65 64 20 6f 72 |draw a f|illed or|
|00000840| 20 6f 75 74 6c 69 6e 65 | 20 63 69 72 63 6c 65 0a | outline| circle.|
|00000850| 50 47 43 4c 4f 53 20 2d | 2d 20 63 6c 6f 73 65 20 |PGCLOS -|- close |
|00000860| 74 68 65 20 73 65 6c 65 | 63 74 65 64 20 67 72 61 |the sele|cted gra|
|00000870| 70 68 69 63 73 20 64 65 | 76 69 63 65 0a 50 47 43 |phics de|vice.PGC|
|00000880| 4f 4e 42 20 2d 2d 20 63 | 6f 6e 74 6f 75 72 20 6d |ONB -- c|ontour m|
|00000890| 61 70 20 6f 66 20 61 20 | 32 44 20 64 61 74 61 20 |ap of a |2D data |
|000008a0| 61 72 72 61 79 2c 20 77 | 69 74 68 20 62 6c 61 6e |array, w|ith blan|
|000008b0| 6b 69 6e 67 0a 50 47 43 | 4f 4e 4c 20 2d 2d 20 6c |king.PGC|ONL -- l|
|000008c0| 61 62 65 6c 20 63 6f 6e | 74 6f 75 72 20 6d 61 70 |abel con|tour map|
|000008d0| 20 6f 66 20 61 20 32 44 | 20 64 61 74 61 20 61 72 | of a 2D| data ar|
|000008e0| 72 61 79 20 0a 50 47 43 | 4f 4e 53 20 2d 2d 20 63 |ray .PGC|ONS -- c|
|000008f0| 6f 6e 74 6f 75 72 20 6d | 61 70 20 6f 66 20 61 20 |ontour m|ap of a |
|00000900| 32 44 20 64 61 74 61 20 | 61 72 72 61 79 20 28 66 |2D data |array (f|
|00000910| 61 73 74 20 61 6c 67 6f | 72 69 74 68 6d 29 0a 50 |ast algo|rithm).P|
|00000920| 47 43 4f 4e 54 20 2d 2d | 20 63 6f 6e 74 6f 75 72 |GCONT --| contour|
|00000930| 20 6d 61 70 20 6f 66 20 | 61 20 32 44 20 64 61 74 | map of |a 2D dat|
|00000940| 61 20 61 72 72 61 79 20 | 28 63 6f 6e 74 6f 75 72 |a array |(contour|
|00000950| 2d 66 6f 6c 6c 6f 77 69 | 6e 67 29 0a 50 47 43 4f |-followi|ng).PGCO|
|00000960| 4e 58 20 2d 2d 20 63 6f | 6e 74 6f 75 72 20 6d 61 |NX -- co|ntour ma|
|00000970| 70 20 6f 66 20 61 20 32 | 44 20 64 61 74 61 20 61 |p of a 2|D data a|
|00000980| 72 72 61 79 20 28 6e 6f | 6e 20 72 65 63 74 61 6e |rray (no|n rectan|
|00000990| 67 75 6c 61 72 29 0a 50 | 47 43 54 41 42 20 2d 2d |gular).P|GCTAB --|
|000009a0| 20 69 6e 73 74 61 6c 6c | 20 74 68 65 20 63 6f 6c | install| the col|
|000009b0| 6f 72 20 74 61 62 6c 65 | 20 74 6f 20 62 65 20 75 |or table| to be u|
|000009c0| 73 65 64 20 62 79 20 50 | 47 49 4d 41 47 0a 50 47 |sed by P|GIMAG.PG|
|000009d0| 43 55 52 53 20 2d 2d 20 | 72 65 61 64 20 63 75 72 |CURS -- |read cur|
|000009e0| 73 6f 72 20 70 6f 73 69 | 74 69 6f 6e 0a 50 47 44 |sor posi|tion.PGD|
|000009f0| 52 41 57 20 2d 2d 20 64 | 72 61 77 20 61 20 6c 69 |RAW -- d|raw a li|
|00000a00| 6e 65 20 66 72 6f 6d 20 | 74 68 65 20 63 75 72 72 |ne from |the curr|
|00000a10| 65 6e 74 20 70 65 6e 20 | 70 6f 73 69 74 69 6f 6e |ent pen |position|
|00000a20| 20 74 6f 20 61 20 70 6f | 69 6e 74 0a 50 47 45 42 | to a po|int.PGEB|
|00000a30| 55 46 20 2d 2d 20 65 6e | 64 20 62 61 74 63 68 20 |UF -- en|d batch |
|00000a40| 6f 66 20 6f 75 74 70 75 | 74 20 28 62 75 66 66 65 |of outpu|t (buffe|
|00000a50| 72 29 0a 50 47 45 4e 44 | 20 2d 2d 20 74 65 72 6d |r).PGEND| -- term|
|00000a60| 69 6e 61 74 65 20 50 47 | 50 4c 4f 54 0a 50 47 45 |inate PG|PLOT.PGE|
|00000a70| 4e 56 20 2d 2d 20 73 65 | 74 20 77 69 6e 64 6f 77 |NV -- se|t window|
|00000a80| 20 61 6e 64 20 76 69 65 | 77 70 6f 72 74 20 61 6e | and vie|wport an|
|00000a90| 64 20 64 72 61 77 20 6c | 61 62 65 6c 65 64 20 66 |d draw l|abeled f|
|00000aa0| 72 61 6d 65 0a 50 47 45 | 52 41 53 20 2d 2d 20 65 |rame.PGE|RAS -- e|
|00000ab0| 72 61 73 65 20 61 6c 6c | 20 67 72 61 70 68 69 63 |rase all| graphic|
|00000ac0| 73 20 66 72 6f 6d 20 63 | 75 72 72 65 6e 74 20 70 |s from c|urrent p|
|00000ad0| 61 67 65 0a 50 47 45 52 | 52 42 20 2d 2d 20 68 6f |age.PGER|RB -- ho|
|00000ae0| 72 69 7a 6f 6e 74 61 6c | 20 6f 72 20 76 65 72 74 |rizontal| or vert|
|00000af0| 69 63 61 6c 20 65 72 72 | 6f 72 20 62 61 72 0a 50 |ical err|or bar.P|
|00000b00| 47 45 52 52 58 20 2d 2d | 20 68 6f 72 69 7a 6f 6e |GERRX --| horizon|
|00000b10| 74 61 6c 20 65 72 72 6f | 72 20 62 61 72 0a 50 47 |tal erro|r bar.PG|
|00000b20| 45 52 52 59 20 2d 2d 20 | 76 65 72 74 69 63 61 6c |ERRY -- |vertical|
|00000b30| 20 65 72 72 6f 72 20 62 | 61 72 0a 50 47 45 54 58 | error b|ar.PGETX|
|00000b40| 54 20 2d 2d 20 65 72 61 | 73 65 20 74 65 78 74 20 |T -- era|se text |
|00000b50| 66 72 6f 6d 20 67 72 61 | 70 68 69 63 73 20 64 69 |from gra|phics di|
|00000b60| 73 70 6c 61 79 0a 50 47 | 46 55 4e 54 20 2d 2d 20 |splay.PG|FUNT -- |
|00000b70| 66 75 6e 63 74 69 6f 6e | 20 64 65 66 69 6e 65 64 |function| defined|
|00000b80| 20 62 79 20 58 20 3d 20 | 46 28 54 29 2c 20 59 20 | by X = |F(T), Y |
|00000b90| 3d 20 47 28 54 29 0a 50 | 47 46 55 4e 58 20 2d 2d |= G(T).P|GFUNX --|
|00000ba0| 20 66 75 6e 63 74 69 6f | 6e 20 64 65 66 69 6e 65 | functio|n define|
|00000bb0| 64 20 62 79 20 59 20 3d | 20 46 28 58 29 0a 50 47 |d by Y =| F(X).PG|
|00000bc0| 46 55 4e 59 20 2d 2d 20 | 66 75 6e 63 74 69 6f 6e |FUNY -- |function|
|00000bd0| 20 64 65 66 69 6e 65 64 | 20 62 79 20 58 20 3d 20 | defined| by X = |
|00000be0| 46 28 59 29 0a 50 47 47 | 52 41 59 20 2d 2d 20 67 |F(Y).PGG|RAY -- g|
|00000bf0| 72 61 79 2d 73 63 61 6c | 65 20 6d 61 70 20 6f 66 |ray-scal|e map of|
|00000c00| 20 61 20 32 44 20 64 61 | 74 61 20 61 72 72 61 79 | a 2D da|ta array|
|00000c10| 0a 50 47 48 49 32 44 20 | 2d 2d 20 63 72 6f 73 73 |.PGHI2D |-- cross|
|00000c20| 2d 73 65 63 74 69 6f 6e | 73 20 74 68 72 6f 75 67 |-section|s throug|
|00000c30| 68 20 61 20 32 44 20 64 | 61 74 61 20 61 72 72 61 |h a 2D d|ata arra|
|00000c40| 79 0a 50 47 48 49 53 54 | 20 2d 2d 20 68 69 73 74 |y.PGHIST| -- hist|
|00000c50| 6f 67 72 61 6d 20 6f 66 | 20 75 6e 62 69 6e 6e 65 |ogram of| unbinne|
|00000c60| 64 20 64 61 74 61 0a 50 | 47 49 44 45 4e 20 2d 2d |d data.P|GIDEN --|
|00000c70| 20 77 72 69 74 65 20 75 | 73 65 72 6e 61 6d 65 2c | write u|sername,|
|00000c80| 20 64 61 74 65 2c 20 61 | 6e 64 20 74 69 6d 65 20 | date, a|nd time |
|00000c90| 61 74 20 62 6f 74 74 6f | 6d 20 6f 66 20 70 6c 6f |at botto|m of plo|
|00000ca0| 74 0a 50 47 49 4d 41 47 | 20 2d 2d 20 63 6f 6c 6f |t.PGIMAG| -- colo|
|00000cb0| 72 20 69 6d 61 67 65 20 | 66 72 6f 6d 20 61 20 32 |r image |from a 2|
|00000cc0| 44 20 64 61 74 61 20 61 | 72 72 61 79 0a 50 47 4c |D data a|rray.PGL|
|00000cd0| 41 42 20 2d 2d 20 77 72 | 69 74 65 20 6c 61 62 65 |AB -- wr|ite labe|
|00000ce0| 6c 73 20 66 6f 72 20 78 | 2d 61 78 69 73 2c 20 79 |ls for x|-axis, y|
|00000cf0| 2d 61 78 69 73 2c 20 61 | 6e 64 20 74 6f 70 20 6f |-axis, a|nd top o|
|00000d00| 66 20 70 6c 6f 74 0a 50 | 47 4c 43 55 52 20 2d 2d |f plot.P|GLCUR --|
|00000d10| 20 64 72 61 77 20 61 20 | 6c 69 6e 65 20 75 73 69 | draw a |line usi|
|00000d20| 6e 67 20 74 68 65 20 63 | 75 72 73 6f 72 0a 50 47 |ng the c|ursor.PG|
|00000d30| 4c 44 45 56 20 2d 2d 20 | 6c 69 73 74 20 61 76 61 |LDEV -- |list ava|
|00000d40| 69 6c 61 62 6c 65 20 64 | 65 76 69 63 65 20 74 79 |ilable d|evice ty|
|00000d50| 70 65 73 0a 50 47 4c 45 | 4e 20 2d 2d 20 66 69 6e |pes.PGLE|N -- fin|
|00000d60| 64 20 6c 65 6e 67 74 68 | 20 6f 66 20 61 20 73 74 |d length| of a st|
|00000d70| 72 69 6e 67 20 69 6e 20 | 61 20 76 61 72 69 65 74 |ring in |a variet|
|00000d80| 79 20 6f 66 20 75 6e 69 | 74 73 0a 50 47 4c 49 4e |y of uni|ts.PGLIN|
|00000d90| 45 20 2d 2d 20 64 72 61 | 77 20 61 20 70 6f 6c 79 |E -- dra|w a poly|
|00000da0| 6c 69 6e 65 20 28 63 75 | 72 76 65 20 64 65 66 69 |line (cu|rve defi|
|00000db0| 6e 65 64 20 62 79 20 6c | 69 6e 65 2d 73 65 67 6d |ned by l|ine-segm|
|00000dc0| 65 6e 74 73 29 0a 50 47 | 4d 4f 56 45 20 2d 2d 20 |ents).PG|MOVE -- |
|00000dd0| 6d 6f 76 65 20 70 65 6e | 20 28 63 68 61 6e 67 65 |move pen| (change|
|00000de0| 20 63 75 72 72 65 6e 74 | 20 70 65 6e 20 70 6f 73 | current| pen pos|
|00000df0| 69 74 69 6f 6e 29 0a 50 | 47 4d 54 58 54 20 2d 2d |ition).P|GMTXT --|
|00000e00| 20 77 72 69 74 65 20 74 | 65 78 74 20 61 74 20 70 | write t|ext at p|
|00000e10| 6f 73 69 74 69 6f 6e 20 | 72 65 6c 61 74 69 76 65 |osition |relative|
|00000e20| 20 74 6f 20 76 69 65 77 | 70 6f 72 74 0a 50 47 4e | to view|port.PGN|
|00000e30| 43 55 52 20 2d 2d 20 6d | 61 72 6b 20 61 20 73 65 |CUR -- m|ark a se|
|00000e40| 74 20 6f 66 20 70 6f 69 | 6e 74 73 20 75 73 69 6e |t of poi|nts usin|
|00000e50| 67 20 74 68 65 20 63 75 | 72 73 6f 72 0a 50 47 4e |g the cu|rsor.PGN|
|00000e60| 55 4d 42 20 2d 2d 20 63 | 6f 6e 76 65 72 74 20 61 |UMB -- c|onvert a|
|00000e70| 20 6e 75 6d 62 65 72 20 | 69 6e 74 6f 20 61 20 70 | number |into a p|
|00000e80| 6c 6f 74 74 61 62 6c 65 | 20 63 68 61 72 61 63 74 |lottable| charact|
|00000e90| 65 72 20 73 74 72 69 6e | 67 0a 50 47 4f 4c 49 4e |er strin|g.PGOLIN|
|00000ea0| 20 2d 2d 20 6d 61 72 6b | 20 61 20 73 65 74 20 6f | -- mark| a set o|
|00000eb0| 66 20 70 6f 69 6e 74 73 | 20 75 73 69 6e 67 20 74 |f points| using t|
|00000ec0| 68 65 20 63 75 72 73 6f | 72 0a 50 47 4f 50 45 4e |he curso|r.PGOPEN|
|00000ed0| 20 2d 2d 20 6f 70 65 6e | 20 61 20 67 72 61 70 68 | -- open| a graph|
|00000ee0| 69 63 73 20 64 65 76 69 | 63 65 0a 50 47 50 41 47 |ics devi|ce.PGPAG|
|00000ef0| 45 20 2d 2d 20 61 64 76 | 61 6e 63 65 20 74 6f 20 |E -- adv|ance to |
|00000f00| 6e 65 77 20 70 61 67 65 | 0a 50 47 50 41 4e 4c 20 |new page|.PGPANL |
|00000f10| 2d 2d 20 73 77 69 74 63 | 68 20 74 6f 20 61 20 64 |-- switc|h to a d|
|00000f20| 69 66 66 65 72 65 6e 74 | 20 70 61 6e 65 6c 20 6f |ifferent| panel o|
|00000f30| 6e 20 74 68 65 20 76 69 | 65 77 20 73 75 72 66 61 |n the vi|ew surfa|
|00000f40| 63 65 0a 50 47 50 41 50 | 20 2d 2d 20 63 68 61 6e |ce.PGPAP| -- chan|
|00000f50| 67 65 20 74 68 65 20 73 | 69 7a 65 20 6f 66 20 74 |ge the s|ize of t|
|00000f60| 68 65 20 76 69 65 77 20 | 73 75 72 66 61 63 65 20 |he view |surface |
|00000f70| 0a 50 47 50 49 58 4c 20 | 2d 2d 20 64 72 61 77 20 |.PGPIXL |-- draw |
|00000f80| 70 69 78 65 6c 73 0a 50 | 47 50 4e 54 53 20 2d 2d |pixels.P|GPNTS --|
|00000f90| 20 64 72 61 77 20 6f 6e | 65 20 6f 72 20 6d 6f 72 | draw on|e or mor|
|00000fa0| 65 20 67 72 61 70 68 20 | 6d 61 72 6b 65 72 73 2c |e graph |markers,|
|00000fb0| 20 6e 6f 74 20 61 6c 6c | 20 74 68 65 20 73 61 6d | not all| the sam|
|00000fc0| 65 0a 50 47 50 4f 4c 59 | 20 2d 2d 20 66 69 6c 6c |e.PGPOLY| -- fill|
|00000fd0| 20 61 20 70 6f 6c 79 67 | 6f 6e 61 6c 20 61 72 65 | a polyg|onal are|
|00000fe0| 61 20 77 69 74 68 20 73 | 68 61 64 69 6e 67 0a 50 |a with s|hading.P|
|00000ff0| 47 50 54 20 2d 2d 20 64 | 72 61 77 20 6f 6e 65 20 |GPT -- d|raw one |
|00001000| 6f 72 20 6d 6f 72 65 20 | 67 72 61 70 68 20 6d 61 |or more |graph ma|
|00001010| 72 6b 65 72 73 0a 50 47 | 50 54 58 54 20 2d 2d 20 |rkers.PG|PTXT -- |
|00001020| 77 72 69 74 65 20 74 65 | 78 74 20 61 74 20 61 72 |write te|xt at ar|
|00001030| 62 69 74 72 61 72 79 20 | 70 6f 73 69 74 69 6f 6e |bitrary |position|
|00001040| 20 61 6e 64 20 61 6e 67 | 6c 65 0a 50 47 51 41 48 | and ang|le.PGQAH|
|00001050| 20 2d 2d 20 69 6e 71 75 | 69 72 65 20 61 72 72 6f | -- inqu|ire arro|
|00001060| 77 2d 68 65 61 64 20 73 | 74 79 6c 65 0a 50 47 51 |w-head s|tyle.PGQ|
|00001070| 43 46 20 2d 2d 20 69 6e | 71 75 69 72 65 20 63 68 |CF -- in|quire ch|
|00001080| 61 72 61 63 74 65 72 20 | 66 6f 6e 74 0a 50 47 51 |aracter |font.PGQ|
|00001090| 43 48 20 2d 2d 20 69 6e | 71 75 69 72 65 20 63 68 |CH -- in|quire ch|
|000010a0| 61 72 61 63 74 65 72 20 | 68 65 69 67 68 74 0a 50 |aracter |height.P|
|000010b0| 47 51 43 49 20 2d 2d 20 | 69 6e 71 75 69 72 65 20 |GQCI -- |inquire |
|000010c0| 63 6f 6c 6f 72 20 69 6e | 64 65 78 0a 50 47 51 43 |color in|dex.PGQC|
|000010d0| 49 52 20 2d 2d 20 69 6e | 71 75 69 72 65 20 63 6f |IR -- in|quire co|
|000010e0| 6c 6f 72 20 69 6e 64 65 | 78 20 72 61 6e 67 65 0a |lor inde|x range.|
|000010f0| 50 47 51 43 4f 4c 20 2d | 2d 20 69 6e 71 75 69 72 |PGQCOL -|- inquir|
|00001100| 65 20 63 6f 6c 6f 72 20 | 63 61 70 61 62 69 6c 69 |e color |capabili|
|00001110| 74 79 0a 50 47 51 43 52 | 20 20 2d 2d 20 69 6e 71 |ty.PGQCR| -- inq|
|00001120| 75 69 72 65 20 63 6f 6c | 6f 72 20 72 65 70 72 65 |uire col|or repre|
|00001130| 73 65 6e 74 61 74 69 6f | 6e 0a 50 47 51 43 53 20 |sentatio|n.PGQCS |
|00001140| 20 2d 2d 20 69 6e 71 75 | 69 72 65 20 63 68 61 72 | -- inqu|ire char|
|00001150| 61 63 74 65 72 20 68 65 | 69 67 68 74 20 69 6e 20 |acter he|ight in |
|00001160| 61 20 76 61 72 69 65 74 | 79 20 6f 66 20 75 6e 69 |a variet|y of uni|
|00001170| 74 73 0a 50 47 51 46 53 | 20 2d 2d 20 69 6e 71 75 |ts.PGQFS| -- inqu|
|00001180| 69 72 65 20 66 69 6c 6c | 2d 61 72 65 61 20 73 74 |ire fill|-area st|
|00001190| 79 6c 65 0a 50 47 51 48 | 53 20 2d 2d 20 69 6e 71 |yle.PGQH|S -- inq|
|000011a0| 75 69 72 65 20 68 61 74 | 63 68 69 6e 67 20 73 74 |uire hat|ching st|
|000011b0| 79 6c 65 0a 50 47 51 49 | 44 20 2d 2d 20 69 6e 71 |yle.PGQI|D -- inq|
|000011c0| 75 69 72 65 20 63 75 72 | 72 65 6e 74 20 64 65 76 |uire cur|rent dev|
|000011d0| 69 63 65 20 69 64 65 6e | 74 69 66 69 65 72 0a 50 |ice iden|tifier.P|
|000011e0| 47 51 49 4e 46 20 2d 2d | 20 69 6e 71 75 69 72 65 |GQINF --| inquire|
|000011f0| 20 50 47 50 4c 4f 54 20 | 67 65 6e 65 72 61 6c 20 | PGPLOT |general |
|00001200| 69 6e 66 6f 72 6d 61 74 | 69 6f 6e 0a 50 47 51 49 |informat|ion.PGQI|
|00001210| 54 46 20 2d 2d 20 69 6e | 71 75 69 72 65 20 69 6d |TF -- in|quire im|
|00001220| 61 67 65 20 74 72 61 6e | 73 66 65 72 20 66 75 6e |age tran|sfer fun|
|00001230| 63 74 69 6f 6e 0a 50 47 | 51 4c 53 20 2d 2d 20 69 |ction.PG|QLS -- i|
|00001240| 6e 71 75 69 72 65 20 6c | 69 6e 65 20 73 74 79 6c |nquire l|ine styl|
|00001250| 65 0a 50 47 51 4c 57 20 | 2d 2d 20 69 6e 71 75 69 |e.PGQLW |-- inqui|
|00001260| 72 65 20 6c 69 6e 65 20 | 77 69 64 74 68 0a 50 47 |re line |width.PG|
|00001270| 51 50 4f 53 20 2d 2d 20 | 69 6e 71 75 69 72 65 20 |QPOS -- |inquire |
|00001280| 63 75 72 72 65 6e 74 20 | 70 65 6e 20 70 6f 73 69 |current |pen posi|
|00001290| 74 69 6f 6e 0a 50 47 51 | 54 42 47 20 2d 2d 20 69 |tion.PGQ|TBG -- i|
|000012a0| 6e 71 75 69 72 65 20 74 | 65 78 74 20 62 61 63 6b |nquire t|ext back|
|000012b0| 67 72 6f 75 6e 64 20 63 | 6f 6c 6f 72 20 69 6e 64 |ground c|olor ind|
|000012c0| 65 78 0a 50 47 51 54 58 | 54 20 2d 2d 20 66 69 6e |ex.PGQTX|T -- fin|
|000012d0| 64 20 62 6f 75 6e 64 69 | 6e 67 20 62 6f 78 20 6f |d boundi|ng box o|
|000012e0| 66 20 74 65 78 74 20 73 | 74 72 69 6e 67 0a 50 47 |f text s|tring.PG|
|000012f0| 51 56 50 20 2d 2d 20 69 | 6e 71 75 69 72 65 20 76 |QVP -- i|nquire v|
|00001300| 69 65 77 70 6f 72 74 20 | 73 69 7a 65 20 61 6e 64 |iewport |size and|
|00001310| 20 70 6f 73 69 74 69 6f | 6e 0a 50 47 51 56 53 5a | positio|n.PGQVSZ|
|00001320| 20 2d 2d 20 66 69 6e 64 | 20 74 68 65 20 77 69 6e | -- find| the win|
|00001330| 64 6f 77 20 64 65 66 69 | 6e 65 64 20 62 79 20 74 |dow defi|ned by t|
|00001340| 68 65 20 66 75 6c 6c 20 | 76 69 65 77 20 73 75 72 |he full |view sur|
|00001350| 66 61 63 65 0a 50 47 51 | 57 49 4e 20 2d 2d 20 69 |face.PGQ|WIN -- i|
|00001360| 6e 71 75 69 72 65 20 77 | 69 6e 64 6f 77 20 62 6f |nquire w|indow bo|
|00001370| 75 6e 64 61 72 79 20 63 | 6f 6f 72 64 69 6e 61 74 |undary c|oordinat|
|00001380| 65 73 0a 50 47 52 45 43 | 54 20 2d 2d 20 64 72 61 |es.PGREC|T -- dra|
|00001390| 77 20 61 20 72 65 63 74 | 61 6e 67 6c 65 2c 20 75 |w a rect|angle, u|
|000013a0| 73 69 6e 67 20 66 69 6c | 6c 2d 61 72 65 61 20 61 |sing fil|l-area a|
|000013b0| 74 74 72 69 62 75 74 65 | 73 0a 50 47 52 4e 44 20 |ttribute|s.PGRND |
|000013c0| 2d 2d 20 66 69 6e 64 20 | 74 68 65 20 73 6d 61 6c |-- find |the smal|
|000013d0| 6c 65 73 74 20 60 72 6f | 75 6e 64 27 20 6e 75 6d |lest `ro|und' num|
|000013e0| 62 65 72 20 67 72 65 61 | 74 65 72 20 74 68 61 6e |ber grea|ter than|
|000013f0| 20 78 0a 50 47 52 4e 47 | 45 20 2d 2d 20 63 68 6f | x.PGRNG|E -- cho|
|00001400| 6f 73 65 20 61 78 69 73 | 20 6c 69 6d 69 74 73 0a |ose axis| limits.|
|00001410| 50 47 53 41 48 20 2d 2d | 20 73 65 74 20 61 72 72 |PGSAH --| set arr|
|00001420| 6f 77 2d 68 65 61 64 20 | 73 74 79 6c 65 0a 50 47 |ow-head |style.PG|
|00001430| 53 41 56 45 20 2d 2d 20 | 73 61 76 65 20 50 47 50 |SAVE -- |save PGP|
|00001440| 4c 4f 54 20 61 74 74 72 | 69 62 75 74 65 73 0a 50 |LOT attr|ibutes.P|
|00001450| 47 55 4e 53 41 20 2d 2d | 20 72 65 73 74 6f 72 65 |GUNSA --| restore|
|00001460| 20 50 47 50 4c 4f 54 20 | 61 74 74 72 69 62 75 74 | PGPLOT |attribut|
|00001470| 65 73 0a 50 47 53 43 46 | 20 2d 2d 20 73 65 74 20 |es.PGSCF| -- set |
|00001480| 63 68 61 72 61 63 74 65 | 72 20 66 6f 6e 74 0a 50 |characte|r font.P|
|00001490| 47 53 43 48 20 2d 2d 20 | 73 65 74 20 63 68 61 72 |GSCH -- |set char|
|000014a0| 61 63 74 65 72 20 68 65 | 69 67 68 74 0a 50 47 53 |acter he|ight.PGS|
|000014b0| 43 49 20 2d 2d 20 73 65 | 74 20 63 6f 6c 6f 72 20 |CI -- se|t color |
|000014c0| 69 6e 64 65 78 0a 50 47 | 53 43 49 52 20 2d 2d 20 |index.PG|SCIR -- |
|000014d0| 73 65 74 20 63 6f 6c 6f | 72 20 69 6e 64 65 78 20 |set colo|r index |
|000014e0| 72 61 6e 67 65 0a 50 47 | 53 43 52 20 2d 2d 20 73 |range.PG|SCR -- s|
|000014f0| 65 74 20 63 6f 6c 6f 72 | 20 72 65 70 72 65 73 65 |et color| represe|
|00001500| 6e 74 61 74 69 6f 6e 0a | 50 47 53 43 52 4e 20 2d |ntation.|PGSCRN -|
|00001510| 2d 20 73 65 74 20 63 6f | 6c 6f 72 20 72 65 70 72 |- set co|lor repr|
|00001520| 65 73 65 6e 74 61 74 69 | 6f 6e 20 62 79 20 6e 61 |esentati|on by na|
|00001530| 6d 65 0a 50 47 53 46 53 | 20 2d 2d 20 73 65 74 20 |me.PGSFS| -- set |
|00001540| 66 69 6c 6c 2d 61 72 65 | 61 20 73 74 79 6c 65 0a |fill-are|a style.|
|00001550| 50 47 53 48 4c 53 20 2d | 2d 20 73 65 74 20 63 6f |PGSHLS -|- set co|
|00001560| 6c 6f 72 20 72 65 70 72 | 65 73 65 6e 74 61 74 69 |lor repr|esentati|
|00001570| 6f 6e 20 75 73 69 6e 67 | 20 48 4c 53 20 73 79 73 |on using| HLS sys|
|00001580| 74 65 6d 0a 50 47 53 48 | 53 20 2d 2d 20 73 65 74 |tem.PGSH|S -- set|
|00001590| 20 68 61 74 63 68 69 6e | 67 20 73 74 79 6c 65 0a | hatchin|g style.|
|000015a0| 50 47 53 49 54 46 20 2d | 2d 20 73 65 74 20 69 6d |PGSITF -|- set im|
|000015b0| 61 67 65 20 74 72 61 6e | 73 66 65 72 20 66 75 6e |age tran|sfer fun|
|000015c0| 63 74 69 6f 6e 0a 50 47 | 53 4c 43 54 20 2d 2d 20 |ction.PG|SLCT -- |
|000015d0| 73 65 6c 65 63 74 20 61 | 6e 20 6f 70 65 6e 20 67 |select a|n open g|
|000015e0| 72 61 70 68 69 63 73 20 | 64 65 76 69 63 65 0a 50 |raphics |device.P|
|000015f0| 47 53 4c 53 20 2d 2d 20 | 73 65 74 20 6c 69 6e 65 |GSLS -- |set line|
|00001600| 20 73 74 79 6c 65 0a 50 | 47 53 4c 57 20 2d 2d 20 | style.P|GSLW -- |
|00001610| 73 65 74 20 6c 69 6e 65 | 20 77 69 64 74 68 0a 50 |set line| width.P|
|00001620| 47 53 54 42 47 20 2d 2d | 20 73 65 74 20 74 65 78 |GSTBG --| set tex|
|00001630| 74 20 62 61 63 6b 67 72 | 6f 75 6e 64 20 63 6f 6c |t backgr|ound col|
|00001640| 6f 72 20 69 6e 64 65 78 | 0a 50 47 53 55 42 50 20 |or index|.PGSUBP |
|00001650| 2d 2d 20 73 75 62 64 69 | 76 69 64 65 20 76 69 65 |-- subdi|vide vie|
|00001660| 77 20 73 75 72 66 61 63 | 65 20 69 6e 74 6f 20 70 |w surfac|e into p|
|00001670| 61 6e 65 6c 73 0a 50 47 | 53 56 50 20 2d 2d 20 73 |anels.PG|SVP -- s|
|00001680| 65 74 20 76 69 65 77 70 | 6f 72 74 20 28 6e 6f 72 |et viewp|ort (nor|
|00001690| 6d 61 6c 69 7a 65 64 20 | 64 65 76 69 63 65 20 63 |malized |device c|
|000016a0| 6f 6f 72 64 69 6e 61 74 | 65 73 29 0a 50 47 53 57 |oordinat|es).PGSW|
|000016b0| 49 4e 20 2d 2d 20 73 65 | 74 20 77 69 6e 64 6f 77 |IN -- se|t window|
|000016c0| 0a 50 47 54 42 4f 58 20 | 2d 2d 20 64 72 61 77 20 |.PGTBOX |-- draw |
|000016d0| 66 72 61 6d 65 20 61 6e | 64 20 77 72 69 74 65 20 |frame an|d write |
|000016e0| 28 44 44 29 20 48 48 20 | 4d 4d 20 53 53 2e 53 20 |(DD) HH |MM SS.S |
|000016f0| 6c 61 62 65 6c 6c 69 6e | 67 0a 50 47 54 45 58 54 |labellin|g.PGTEXT|
|00001700| 20 2d 2d 20 77 72 69 74 | 65 20 74 65 78 74 20 28 | -- writ|e text (|
|00001710| 68 6f 72 69 7a 6f 6e 74 | 61 6c 2c 20 6c 65 66 74 |horizont|al, left|
|00001720| 2d 6a 75 73 74 69 66 69 | 65 64 29 0a 50 47 55 50 |-justifi|ed).PGUP|
|00001730| 44 54 20 2d 2d 20 75 70 | 64 61 74 65 20 64 69 73 |DT -- up|date dis|
|00001740| 70 6c 61 79 0a 50 47 56 | 45 43 54 20 2d 2d 20 76 |play.PGV|ECT -- v|
|00001750| 65 63 74 6f 72 20 6d 61 | 70 20 6f 66 20 61 20 32 |ector ma|p of a 2|
|00001760| 44 20 64 61 74 61 20 61 | 72 72 61 79 2c 20 77 69 |D data a|rray, wi|
|00001770| 74 68 20 62 6c 61 6e 6b | 69 6e 67 0a 50 47 56 53 |th blank|ing.PGVS|
|00001780| 49 5a 20 2d 2d 20 73 65 | 74 20 76 69 65 77 70 6f |IZ -- se|t viewpo|
|00001790| 72 74 20 28 69 6e 63 68 | 65 73 29 0a 50 47 56 53 |rt (inch|es).PGVS|
|000017a0| 54 44 20 2d 2d 20 73 65 | 74 20 73 74 61 6e 64 61 |TD -- se|t standa|
|000017b0| 72 64 20 28 64 65 66 61 | 75 6c 74 29 20 76 69 65 |rd (defa|ult) vie|
|000017c0| 77 70 6f 72 74 0a 50 47 | 57 45 44 47 20 2d 2d 20 |wport.PG|WEDG -- |
|000017d0| 61 6e 6e 6f 74 61 74 65 | 20 61 6e 20 69 6d 61 67 |annotate| an imag|
|000017e0| 65 20 70 6c 6f 74 20 77 | 69 74 68 20 61 20 77 65 |e plot w|ith a we|
|000017f0| 64 67 65 0a 50 47 57 4e | 41 44 20 2d 2d 20 73 65 |dge.PGWN|AD -- se|
|00001800| 74 20 77 69 6e 64 6f 77 | 20 61 6e 64 20 61 64 6a |t window| and adj|
|00001810| 75 73 74 20 76 69 65 77 | 70 6f 72 74 20 74 6f 20 |ust view|port to |
|00001820| 73 61 6d 65 20 61 73 70 | 65 63 74 20 72 61 74 69 |same asp|ect rati|
|00001830| 6f 0a 50 47 41 44 56 41 | 4e 43 45 20 2d 2d 20 6e |o.PGADVA|NCE -- n|
|00001840| 6f 6e 2d 73 74 61 6e 64 | 61 72 64 20 61 6c 69 61 |on-stand|ard alia|
|00001850| 73 20 66 6f 72 20 50 47 | 50 41 47 45 0a 50 47 42 |s for PG|PAGE.PGB|
|00001860| 45 47 49 4e 20 2d 2d 20 | 6e 6f 6e 2d 73 74 61 6e |EGIN -- |non-stan|
|00001870| 64 61 72 64 20 61 6c 69 | 61 73 20 66 6f 72 20 50 |dard ali|as for P|
|00001880| 47 42 45 47 0a 50 47 43 | 55 52 53 45 20 2d 2d 20 |GBEG.PGC|URSE -- |
|00001890| 6e 6f 6e 2d 73 74 61 6e | 64 61 72 64 20 61 6c 69 |non-stan|dard ali|
|000018a0| 61 73 20 66 6f 72 20 50 | 47 43 55 52 53 0a 50 47 |as for P|GCURS.PG|
|000018b0| 4c 41 42 45 4c 20 2d 2d | 20 6e 6f 6e 2d 73 74 61 |LABEL --| non-sta|
|000018c0| 6e 64 61 72 64 20 61 6c | 69 61 73 20 66 6f 72 20 |ndard al|ias for |
|000018d0| 50 47 4c 41 42 0a 50 47 | 4d 54 45 58 54 20 2d 2d |PGLAB.PG|MTEXT --|
|000018e0| 20 6e 6f 6e 2d 73 74 61 | 6e 64 61 72 64 20 61 6c | non-sta|ndard al|
|000018f0| 69 61 73 20 66 6f 72 20 | 50 47 4d 54 58 54 0a 50 |ias for |PGMTXT.P|
|00001900| 47 4e 43 55 52 53 45 20 | 2d 2d 20 6e 6f 6e 2d 73 |GNCURSE |-- non-s|
|00001910| 74 61 6e 64 61 72 64 20 | 61 6c 69 61 73 20 66 6f |tandard |alias fo|
|00001920| 72 20 50 47 4e 43 55 52 | 0a 50 47 50 41 50 45 52 |r PGNCUR|.PGPAPER|
|00001930| 20 2d 2d 20 6e 6f 6e 2d | 73 74 61 6e 64 61 72 64 | -- non-|standard|
|00001940| 20 61 6c 69 61 73 20 66 | 6f 72 20 50 47 50 41 50 | alias f|or PGPAP|
|00001950| 0a 50 47 50 4f 49 4e 54 | 20 2d 2d 20 6e 6f 6e 2d |.PGPOINT| -- non-|
|00001960| 73 74 61 6e 64 61 72 64 | 20 61 6c 69 61 73 20 66 |standard| alias f|
|00001970| 6f 72 20 50 47 50 54 0a | 50 47 50 54 45 58 54 20 |or PGPT.|PGPTEXT |
|00001980| 2d 2d 20 6e 6f 6e 2d 73 | 74 61 6e 64 61 72 64 20 |-- non-s|tandard |
|00001990| 61 6c 69 61 73 20 66 6f | 72 20 50 47 50 54 58 54 |alias fo|r PGPTXT|
|000019a0| 0a 50 47 56 50 4f 52 54 | 20 2d 2d 20 6e 6f 6e 2d |.PGVPORT| -- non-|
|000019b0| 73 74 61 6e 64 61 72 64 | 20 61 6c 69 61 73 20 66 |standard| alias f|
|000019c0| 6f 72 20 50 47 53 56 50 | 0a 50 47 56 53 49 5a 45 |or PGSVP|.PGVSIZE|
|000019d0| 20 2d 2d 20 6e 6f 6e 2d | 73 74 61 6e 64 61 72 64 | -- non-|standard|
|000019e0| 20 61 6c 69 61 73 20 66 | 6f 72 20 50 47 56 53 49 | alias f|or PGVSI|
|000019f0| 5a 0a 50 47 56 53 54 41 | 4e 44 20 2d 2d 20 6e 6f |Z.PGVSTA|ND -- no|
|00001a00| 6e 2d 73 74 61 6e 64 61 | 72 64 20 61 6c 69 61 73 |n-standa|rd alias|
|00001a10| 20 66 6f 72 20 50 47 56 | 53 54 44 0a 50 47 57 49 | for PGV|STD.PGWI|
|00001a20| 4e 44 4f 57 20 2d 2d 20 | 6e 6f 6e 2d 73 74 61 6e |NDOW -- |non-stan|
|00001a30| 64 61 72 64 20 61 6c 69 | 61 73 20 66 6f 72 20 50 |dard ali|as for P|
|00001a40| 47 53 57 49 4e 0a 0a 0a | 2d 2d 2d 2d 2d 2d 2d 2d |GSWIN...|--------|
|00001a50| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00001a60| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00001a70| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00001a80| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00001a90| 0a 4d 6f 64 75 6c 65 3a | 20 50 47 41 52 52 4f 20 |.Module:| PGARRO |
|00001aa0| 2d 2d 20 64 72 61 77 20 | 61 6e 20 61 72 72 6f 77 |-- draw |an arrow|
|00001ab0| 0a 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |.-------|--------|
|00001ac0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00001ad0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00001ae0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00001af0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 0a 0a 20 20 20 20 20 |--------|-.. |
|00001b00| 20 53 55 42 52 4f 55 54 | 49 4e 45 20 50 47 41 52 | SUBROUT|INE PGAR|
|00001b10| 52 4f 20 28 58 31 2c 20 | 59 31 2c 20 58 32 2c 20 |RO (X1, |Y1, X2, |
|00001b20| 59 32 29 0a 20 20 20 20 | 20 20 52 45 41 4c 20 58 |Y2). | REAL X|
|00001b30| 31 2c 20 59 31 2c 20 58 | 32 2c 20 59 32 0a 0a 44 |1, Y1, X|2, Y2..D|
|00001b40| 72 61 77 20 61 6e 20 61 | 72 72 6f 77 20 66 72 6f |raw an a|rrow fro|
|00001b50| 6d 20 74 68 65 20 70 6f | 69 6e 74 20 77 69 74 68 |m the po|int with|
|00001b60| 20 77 6f 72 6c 64 2d 63 | 6f 6f 72 64 69 6e 61 74 | world-c|oordinat|
|00001b70| 65 73 20 28 58 31 2c 59 | 31 29 20 74 6f 20 0a 28 |es (X1,Y|1) to .(|
|00001b80| 58 32 2c 59 32 29 2e 20 | 54 68 65 20 73 69 7a 65 |X2,Y2). |The size|
|00001b90| 20 6f 66 20 74 68 65 20 | 61 72 72 6f 77 68 65 61 | of the |arrowhea|
|00001ba0| 64 20 61 74 20 28 58 32 | 2c 59 32 29 20 69 73 20 |d at (X2|,Y2) is |
|00001bb0| 64 65 74 65 72 6d 69 6e | 65 64 20 62 79 20 0a 74 |determin|ed by .t|
|00001bc0| 68 65 20 63 75 72 72 65 | 6e 74 20 63 68 61 72 61 |he curre|nt chara|
|00001bd0| 63 74 65 72 20 73 69 7a | 65 20 73 65 74 20 62 79 |cter siz|e set by|
|00001be0| 20 72 6f 75 74 69 6e 65 | 20 50 47 53 43 48 2e 20 | routine| PGSCH. |
|00001bf0| 54 68 65 20 64 65 66 61 | 75 6c 74 20 73 69 7a 65 |The defa|ult size|
|00001c00| 20 0a 69 73 20 31 2f 34 | 30 74 68 20 6f 66 20 74 | .is 1/4|0th of t|
|00001c10| 68 65 20 73 6d 61 6c 6c | 65 72 20 6f 66 20 74 68 |he small|er of th|
|00001c20| 65 20 77 69 64 74 68 20 | 6f 72 20 68 65 69 67 68 |e width |or heigh|
|00001c30| 74 20 6f 66 20 74 68 65 | 20 76 69 65 77 20 73 75 |t of the| view su|
|00001c40| 72 66 61 63 65 2e 0a 54 | 68 65 20 61 70 70 65 61 |rface..T|he appea|
|00001c50| 72 61 6e 63 65 20 6f 66 | 20 74 68 65 20 61 72 72 |rance of| the arr|
|00001c60| 6f 77 68 65 61 64 20 28 | 73 68 61 70 65 20 61 6e |owhead (|shape an|
|00001c70| 64 20 73 6f 6c 69 64 20 | 6f 72 20 6f 70 65 6e 29 |d solid |or open)|
|00001c80| 20 69 73 0a 63 6f 6e 74 | 72 6f 6c 6c 65 64 20 62 | is.cont|rolled b|
|00001c90| 79 20 72 6f 75 74 69 6e | 65 20 50 47 53 41 48 2e |y routin|e PGSAH.|
|00001ca0| 0a 0a 41 72 67 75 6d 65 | 6e 74 73 3a 0a 20 58 31 |..Argume|nts:. X1|
|00001cb0| 2c 20 59 31 20 28 69 6e | 70 75 74 29 20 20 3a 20 |, Y1 (in|put) : |
|00001cc0| 77 6f 72 6c 64 20 63 6f | 6f 72 64 69 6e 61 74 65 |world co|ordinate|
|00001cd0| 73 20 6f 66 20 74 68 65 | 20 74 61 69 6c 20 6f 66 |s of the| tail of|
|00001ce0| 20 74 68 65 20 61 72 72 | 6f 77 2e 0a 20 58 32 2c | the arr|ow.. X2,|
|00001cf0| 20 59 32 20 28 69 6e 70 | 75 74 29 20 20 3a 20 77 | Y2 (inp|ut) : w|
|00001d00| 6f 72 6c 64 20 63 6f 6f | 72 64 69 6e 61 74 65 73 |orld coo|rdinates|
|00001d10| 20 6f 66 20 74 68 65 20 | 68 65 61 64 20 6f 66 20 | of the |head of |
|00001d20| 74 68 65 20 61 72 72 6f | 77 2e 0a 0a 0a 2d 2d 2d |the arro|w....---|
|00001d30| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00001d40| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00001d50| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00001d60| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00001d70| 2d 2d 2d 2d 2d 0a 4d 6f | 64 75 6c 65 3a 20 50 47 |-----.Mo|dule: PG|
|00001d80| 41 53 4b 20 2d 2d 20 63 | 6f 6e 74 72 6f 6c 20 6e |ASK -- c|ontrol n|
|00001d90| 65 77 20 70 61 67 65 20 | 70 72 6f 6d 70 74 69 6e |ew page |promptin|
|00001da0| 67 0a 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |g.------|--------|
|00001db0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00001dc0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00001dd0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00001de0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 0a 0a 20 20 20 20 |--------|--.. |
|00001df0| 20 20 53 55 42 52 4f 55 | 54 49 4e 45 20 50 47 41 | SUBROU|TINE PGA|
|00001e00| 53 4b 20 28 46 4c 41 47 | 29 0a 20 20 20 20 20 20 |SK (FLAG|). |
|00001e10| 4c 4f 47 49 43 41 4c 20 | 46 4c 41 47 0a 0a 43 68 |LOGICAL |FLAG..Ch|
|00001e20| 61 6e 67 65 20 74 68 65 | 20 60 60 70 72 6f 6d 70 |ange the| ``promp|
|00001e30| 74 20 73 74 61 74 65 27 | 27 20 6f 66 20 50 47 50 |t state'|' of PGP|
|00001e40| 4c 4f 54 2e 20 49 66 20 | 74 68 65 20 70 72 6f 6d |LOT. If |the prom|
|00001e50| 70 74 20 73 74 61 74 65 | 20 69 73 0a 4f 4e 2c 20 |pt state| is.ON, |
|00001e60| 50 47 50 41 47 45 20 77 | 69 6c 6c 20 74 79 70 65 |PGPAGE w|ill type|
|00001e70| 20 60 60 54 79 70 65 20 | 52 45 54 55 52 4e 20 66 | ``Type |RETURN f|
|00001e80| 6f 72 20 6e 65 78 74 20 | 70 61 67 65 3a 27 27 20 |or next |page:'' |
|00001e90| 61 6e 64 20 77 69 6c 6c | 20 77 61 69 74 0a 66 6f |and will| wait.fo|
|00001ea0| 72 20 74 68 65 20 75 73 | 65 72 20 74 6f 20 74 79 |r the us|er to ty|
|00001eb0| 70 65 20 61 20 63 61 72 | 72 69 61 67 65 2d 72 65 |pe a car|riage-re|
|00001ec0| 74 75 72 6e 20 62 65 66 | 6f 72 65 20 73 74 61 72 |turn bef|ore star|
|00001ed0| 74 69 6e 67 20 61 20 6e | 65 77 20 70 61 67 65 2e |ting a n|ew page.|
|00001ee0| 0a 54 68 65 20 69 6e 69 | 74 69 61 6c 20 70 72 6f |.The ini|tial pro|
|00001ef0| 6d 70 74 20 73 74 61 74 | 65 20 28 61 66 74 65 72 |mpt stat|e (after|
|00001f00| 20 61 20 63 61 6c 6c 20 | 74 6f 20 50 47 42 45 47 | a call |to PGBEG|
|00001f10| 29 20 69 73 20 4f 4e 20 | 66 6f 72 20 0a 69 6e 74 |) is ON |for .int|
|00001f20| 65 72 61 63 74 69 76 65 | 20 64 65 76 69 63 65 73 |eractive| devices|
|00001f30| 2e 20 50 72 6f 6d 70 74 | 20 73 74 61 74 65 20 69 |. Prompt| state i|
|00001f40| 73 20 61 6c 77 61 79 73 | 20 4f 46 46 20 66 6f 72 |s always| OFF for|
|00001f50| 20 6e 6f 6e 2d 69 6e 74 | 65 72 61 63 74 69 76 65 | non-int|eractive|
|00001f60| 20 0a 64 65 76 69 63 65 | 73 2e 0a 0a 41 72 67 75 | .device|s...Argu|
|00001f70| 6d 65 6e 74 73 3a 0a 20 | 46 4c 41 47 20 20 20 28 |ments:. |FLAG (|
|00001f80| 69 6e 70 75 74 29 20 20 | 3a 20 69 66 20 2e 54 52 |input) |: if .TR|
|00001f90| 55 45 2e 2c 20 61 6e 64 | 20 69 66 20 74 68 65 20 |UE., and| if the |
|00001fa0| 64 65 76 69 63 65 20 69 | 73 20 61 6e 20 69 6e 74 |device i|s an int|
|00001fb0| 65 72 61 63 74 69 76 65 | 0a 20 20 20 20 20 20 20 |eractive|. |
|00001fc0| 20 20 20 20 20 20 20 20 | 20 20 20 20 64 65 76 69 | | devi|
|00001fd0| 63 65 2c 20 74 68 65 20 | 70 72 6f 6d 70 74 20 73 |ce, the |prompt s|
|00001fe0| 74 61 74 65 20 77 69 6c | 6c 20 62 65 20 73 65 74 |tate wil|l be set|
|00001ff0| 20 74 6f 20 4f 4e 2e 20 | 49 66 0a 20 20 20 20 20 | to ON. |If. |
|00002000| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 2e 46 | | .F|
|00002010| 41 4c 53 45 2e 2c 20 74 | 68 65 20 70 72 6f 6d 70 |ALSE., t|he promp|
|00002020| 74 20 73 74 61 74 65 20 | 77 69 6c 6c 20 62 65 20 |t state |will be |
|00002030| 73 65 74 20 74 6f 20 4f | 46 46 2e 0a 0a 0a 2d 2d |set to O|FF....--|
|00002040| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00002050| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00002060| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00002070| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00002080| 2d 2d 2d 2d 2d 2d 0a 4d | 6f 64 75 6c 65 3a 20 50 |------.M|odule: P|
|00002090| 47 42 41 4e 44 20 2d 2d | 20 72 65 61 64 20 63 75 |GBAND --| read cu|
|000020a0| 72 73 6f 72 20 70 6f 73 | 69 74 69 6f 6e 2c 20 77 |rsor pos|ition, w|
|000020b0| 69 74 68 20 61 6e 63 68 | 6f 72 0a 2d 2d 2d 2d 2d |ith anch|or.-----|
|000020c0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|000020d0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|000020e0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|000020f0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00002100| 2d 2d 2d 0a 0a 20 20 20 | 20 20 20 49 4e 54 45 47 |---.. | INTEG|
|00002110| 45 52 20 46 55 4e 43 54 | 49 4f 4e 20 50 47 42 41 |ER FUNCT|ION PGBA|
|00002120| 4e 44 20 28 4d 4f 44 45 | 2c 20 50 4f 53 4e 2c 20 |ND (MODE|, POSN, |
|00002130| 58 52 45 46 2c 20 59 52 | 45 46 2c 20 58 2c 20 59 |XREF, YR|EF, X, Y|
|00002140| 2c 20 43 48 29 0a 20 20 | 20 20 20 20 49 4e 54 45 |, CH). | INTE|
|00002150| 47 45 52 20 4d 4f 44 45 | 2c 20 50 4f 53 4e 0a 20 |GER MODE|, POSN. |
|00002160| 20 20 20 20 20 52 45 41 | 4c 20 58 52 45 46 2c 20 | REA|L XREF, |
|00002170| 59 52 45 46 2c 20 58 2c | 20 59 0a 20 20 20 20 20 |YREF, X,| Y. |
|00002180| 20 43 48 41 52 41 43 54 | 45 52 2a 28 2a 29 20 43 | CHARACT|ER*(*) C|
|00002190| 48 0a 0a 52 65 61 64 20 | 74 68 65 20 63 75 72 73 |H..Read |the curs|
|000021a0| 6f 72 20 70 6f 73 69 74 | 69 6f 6e 20 61 6e 64 20 |or posit|ion and |
|000021b0| 61 20 63 68 61 72 61 63 | 74 65 72 20 74 79 70 65 |a charac|ter type|
|000021c0| 64 20 62 79 20 74 68 65 | 20 75 73 65 72 2e 0a 54 |d by the| user..T|
|000021d0| 68 65 20 70 6f 73 69 74 | 69 6f 6e 20 69 73 20 72 |he posit|ion is r|
|000021e0| 65 74 75 72 6e 65 64 20 | 69 6e 20 77 6f 72 6c 64 |eturned |in world|
|000021f0| 20 63 6f 6f 72 64 69 6e | 61 74 65 73 2e 20 20 50 | coordin|ates. P|
|00002200| 47 42 41 4e 44 20 70 6f | 73 69 74 69 6f 6e 73 0a |GBAND po|sitions.|
|00002210| 74 68 65 20 63 75 72 73 | 6f 72 20 61 74 20 74 68 |the curs|or at th|
|00002220| 65 20 70 6f 73 69 74 69 | 6f 6e 20 73 70 65 63 69 |e positi|on speci|
|00002230| 66 69 65 64 20 28 69 66 | 20 50 4f 53 4e 3d 31 29 |fied (if| POSN=1)|
|00002240| 2c 20 61 6c 6c 6f 77 73 | 20 74 68 65 20 75 73 65 |, allows| the use|
|00002250| 72 20 74 6f 0a 6d 6f 76 | 65 20 74 68 65 20 63 75 |r to.mov|e the cu|
|00002260| 72 73 6f 72 20 75 73 69 | 6e 67 20 74 68 65 20 6d |rsor usi|ng the m|
|00002270| 6f 75 73 65 20 6f 72 20 | 61 72 72 6f 77 20 6b 65 |ouse or |arrow ke|
|00002280| 79 73 20 6f 72 20 77 68 | 61 74 65 76 65 72 20 69 |ys or wh|atever i|
|00002290| 73 20 61 76 61 69 6c 61 | 62 6c 65 0a 6f 6e 20 74 |s availa|ble.on t|
|000022a0| 68 65 20 64 65 76 69 63 | 65 2e 20 57 68 65 6e 20 |he devic|e. When |
|000022b0| 68 65 20 68 61 73 20 70 | 6f 73 69 74 69 6f 6e 65 |he has p|ositione|
|000022c0| 64 20 74 68 65 20 63 75 | 72 73 6f 72 2c 20 74 68 |d the cu|rsor, th|
|000022d0| 65 20 75 73 65 72 20 74 | 79 70 65 73 20 61 0a 73 |e user t|ypes a.s|
|000022e0| 69 6e 67 6c 65 20 63 68 | 61 72 61 63 74 65 72 20 |ingle ch|aracter |
|000022f0| 6f 6e 20 74 68 65 20 6b | 65 79 62 6f 61 72 64 3b |on the k|eyboard;|
|00002300| 20 50 47 42 41 4e 44 20 | 74 68 65 6e 20 72 65 74 | PGBAND |then ret|
|00002310| 75 72 6e 73 20 74 68 69 | 73 0a 63 68 61 72 61 63 |urns thi|s.charac|
|00002320| 74 65 72 20 61 6e 64 20 | 74 68 65 20 6e 65 77 20 |ter and |the new |
|00002330| 63 75 72 73 6f 72 20 70 | 6f 73 69 74 69 6f 6e 20 |cursor p|osition |
|00002340| 28 69 6e 20 77 6f 72 6c | 64 20 63 6f 6f 72 64 69 |(in worl|d coordi|
|00002350| 6e 61 74 65 73 29 2e 0a | 0a 53 6f 6d 65 20 69 6e |nates)..|.Some in|
|00002360| 74 65 72 61 63 74 69 76 | 65 20 64 65 76 69 63 65 |teractiv|e device|
|00002370| 73 20 6f 66 66 65 72 20 | 61 20 73 65 6c 65 63 74 |s offer |a select|
|00002380| 69 6f 6e 20 6f 66 20 63 | 75 72 73 6f 72 20 74 79 |ion of c|ursor ty|
|00002390| 70 65 73 2c 0a 69 6d 70 | 6c 65 6d 65 6e 74 65 64 |pes,.imp|lemented|
|000023a0| 20 61 73 20 74 68 69 6e | 20 6c 69 6e 65 73 20 74 | as thin| lines t|
|000023b0| 68 61 74 20 6d 6f 76 65 | 20 77 69 74 68 20 74 68 |hat move| with th|
|000023c0| 65 20 63 75 72 73 6f 72 | 2c 20 62 75 74 20 77 69 |e cursor|, but wi|
|000023d0| 74 68 6f 75 74 0a 65 72 | 61 73 69 6e 67 20 75 6e |thout.er|asing un|
|000023e0| 64 65 72 6c 79 69 6e 67 | 20 67 72 61 70 68 69 63 |derlying| graphic|
|000023f0| 73 2e 20 4f 66 20 74 68 | 65 73 65 20 74 79 70 65 |s. Of th|ese type|
|00002400| 73 2c 20 73 6f 6d 65 20 | 65 78 74 65 6e 64 20 62 |s, some |extend b|
|00002410| 65 74 77 65 65 6e 0a 61 | 20 73 74 61 74 69 6f 6e |etween.a| station|
|00002420| 61 72 79 20 61 6e 63 68 | 6f 72 2d 70 6f 69 6e 74 |ary anch|or-point|
|00002430| 20 61 74 20 58 52 45 46 | 2c 59 52 45 46 2c 20 61 | at XREF|,YREF, a|
|00002440| 6e 64 20 74 68 65 20 70 | 6f 73 69 74 69 6f 6e 20 |nd the p|osition |
|00002450| 6f 66 20 74 68 65 0a 63 | 75 72 73 6f 72 2c 20 77 |of the.c|ursor, w|
|00002460| 68 69 6c 65 20 6f 74 68 | 65 72 73 20 73 69 6d 70 |hile oth|ers simp|
|00002470| 6c 79 20 66 6f 6c 6c 6f | 77 20 74 68 65 20 63 75 |ly follo|w the cu|
|00002480| 72 73 6f 72 20 77 69 74 | 68 6f 75 74 20 63 68 61 |rsor wit|hout cha|
|00002490| 6e 67 69 6e 67 20 73 68 | 61 70 65 0a 6f 72 20 73 |nging sh|ape.or s|
|000024a0| 69 7a 65 2e 20 54 68 65 | 20 63 75 72 73 6f 72 20 |ize. The| cursor |
|000024b0| 74 79 70 65 20 69 73 20 | 73 70 65 63 69 66 69 65 |type is |specifie|
|000024c0| 64 20 77 69 74 68 20 6f | 6e 65 20 6f 66 20 74 68 |d with o|ne of th|
|000024d0| 65 20 66 6f 6c 6c 6f 77 | 69 6e 67 20 4d 4f 44 45 |e follow|ing MODE|
|000024e0| 0a 76 61 6c 75 65 73 2e | 20 43 75 72 73 6f 72 20 |.values.| Cursor |
|000024f0| 74 79 70 65 73 20 74 68 | 61 74 20 61 72 65 20 6e |types th|at are n|
|00002500| 6f 74 20 73 75 70 70 6f | 72 74 65 64 20 62 79 20 |ot suppo|rted by |
|00002510| 61 20 67 69 76 65 6e 20 | 64 65 76 69 63 65 2c 20 |a given |device, |
|00002520| 61 72 65 0a 74 72 65 61 | 74 65 64 20 61 73 20 4d |are.trea|ted as M|
|00002530| 4f 44 45 3d 30 2e 0a 0a | 2d 2d 20 49 66 20 4d 4f |ODE=0...|-- If MO|
|00002540| 44 45 3d 30 2c 20 74 68 | 65 20 61 6e 63 68 6f 72 |DE=0, th|e anchor|
|00002550| 20 70 6f 69 6e 74 20 69 | 73 20 69 67 6e 6f 72 65 | point i|s ignore|
|00002560| 64 20 61 6e 64 20 74 68 | 65 20 72 6f 75 74 69 6e |d and th|e routin|
|00002570| 65 20 62 65 68 61 76 65 | 73 0a 6c 69 6b 65 20 50 |e behave|s.like P|
|00002580| 47 43 55 52 53 2e 0a 2d | 2d 20 49 66 20 4d 4f 44 |GCURS..-|- If MOD|
|00002590| 45 3d 31 2c 20 61 20 73 | 74 72 61 69 67 68 74 20 |E=1, a s|traight |
|000025a0| 6c 69 6e 65 20 69 73 20 | 64 72 61 77 6e 20 6a 6f |line is |drawn jo|
|000025b0| 69 6e 69 6e 67 20 74 68 | 65 20 61 6e 63 68 6f 72 |ining th|e anchor|
|000025c0| 20 70 6f 69 6e 74 20 0a | 61 6e 64 20 74 68 65 20 | point .|and the |
|000025d0| 63 75 72 73 6f 72 20 70 | 6f 73 69 74 69 6f 6e 2e |cursor p|osition.|
|000025e0| 0a 2d 2d 20 49 66 20 4d | 4f 44 45 3d 32 2c 20 61 |.-- If M|ODE=2, a|
|000025f0| 20 68 6f 6c 6c 6f 77 20 | 72 65 63 74 61 6e 67 6c | hollow |rectangl|
|00002600| 65 20 69 73 20 65 78 74 | 65 6e 64 65 64 20 61 73 |e is ext|ended as|
|00002610| 20 74 68 65 20 63 75 72 | 73 6f 72 20 69 73 20 6d | the cur|sor is m|
|00002620| 6f 76 65 64 2c 0a 77 69 | 74 68 20 6f 6e 65 20 76 |oved,.wi|th one v|
|00002630| 65 72 74 65 78 20 61 74 | 20 74 68 65 20 61 6e 63 |ertex at| the anc|
|00002640| 68 6f 72 20 70 6f 69 6e | 74 20 61 6e 64 20 74 68 |hor poin|t and th|
|00002650| 65 20 6f 70 70 6f 73 69 | 74 65 20 76 65 72 74 65 |e opposi|te verte|
|00002660| 78 20 61 74 20 74 68 65 | 0a 63 75 72 72 65 6e 74 |x at the|.current|
|00002670| 20 63 75 72 73 6f 72 20 | 70 6f 73 69 74 69 6f 6e | cursor |position|
|00002680| 3b 20 74 68 65 20 65 64 | 67 65 73 20 6f 66 20 74 |; the ed|ges of t|
|00002690| 68 65 20 72 65 63 74 61 | 6e 67 6c 65 20 61 72 65 |he recta|ngle are|
|000026a0| 20 68 6f 72 69 7a 6f 6e | 74 61 6c 0a 61 6e 64 20 | horizon|tal.and |
|000026b0| 76 65 72 74 69 63 61 6c | 2e 0a 2d 2d 20 49 66 20 |vertical|..-- If |
|000026c0| 4d 4f 44 45 3d 33 2c 20 | 74 77 6f 20 68 6f 72 69 |MODE=3, |two hori|
|000026d0| 7a 6f 6e 74 61 6c 20 6c | 69 6e 65 73 20 61 72 65 |zontal l|ines are|
|000026e0| 20 65 78 74 65 6e 64 65 | 64 20 61 63 72 6f 73 73 | extende|d across|
|000026f0| 20 74 68 65 20 77 69 64 | 74 68 20 6f 66 0a 74 68 | the wid|th of.th|
|00002700| 65 20 64 69 73 70 6c 61 | 79 2c 20 6f 6e 65 20 64 |e displa|y, one d|
|00002710| 72 61 77 6e 20 74 68 72 | 6f 75 67 68 20 74 68 65 |rawn thr|ough the|
|00002720| 20 61 6e 63 68 6f 72 20 | 70 6f 69 6e 74 20 61 6e | anchor |point an|
|00002730| 64 20 74 68 65 20 6f 74 | 68 65 72 0a 74 68 72 6f |d the ot|her.thro|
|00002740| 75 67 68 20 74 68 65 20 | 6d 6f 76 69 6e 67 20 63 |ugh the |moving c|
|00002750| 75 72 73 6f 72 20 70 6f | 73 69 74 69 6f 6e 2e 20 |ursor po|sition. |
|00002760| 54 68 69 73 20 63 6f 75 | 6c 64 20 62 65 20 75 73 |This cou|ld be us|
|00002770| 65 64 20 74 6f 20 73 65 | 6c 65 63 74 0a 61 20 59 |ed to se|lect.a Y|
|00002780| 2d 61 78 69 73 20 72 61 | 6e 67 65 20 77 68 65 6e |-axis ra|nge when|
|00002790| 20 6f 6e 65 20 65 6e 64 | 20 6f 66 20 74 68 65 20 | one end| of the |
|000027a0| 72 61 6e 67 65 20 69 73 | 20 6b 6e 6f 77 6e 2e 0a |range is| known..|
|000027b0| 2d 2d 20 49 66 20 4d 4f | 44 45 3d 34 2c 20 74 77 |-- If MO|DE=4, tw|
|000027c0| 6f 20 76 65 72 74 69 63 | 61 6c 20 6c 69 6e 65 73 |o vertic|al lines|
|000027d0| 20 61 72 65 20 65 78 74 | 65 6e 64 65 64 20 6f 76 | are ext|ended ov|
|000027e0| 65 72 20 74 68 65 20 68 | 65 69 67 68 74 20 6f 66 |er the h|eight of|
|000027f0| 0a 74 68 65 20 64 69 73 | 70 6c 61 79 2c 20 6f 6e |.the dis|play, on|
|00002800| 65 20 64 72 61 77 6e 20 | 74 68 72 6f 75 67 68 20 |e drawn |through |
|00002810| 74 68 65 20 61 6e 63 68 | 6f 72 20 70 6f 69 6e 74 |the anch|or point|
|00002820| 20 61 6e 64 20 74 68 65 | 20 6f 74 68 65 72 0a 74 | and the| other.t|
|00002830| 68 72 6f 75 67 68 20 74 | 68 65 20 6d 6f 76 69 6e |hrough t|he movin|
|00002840| 67 20 63 75 72 73 6f 72 | 20 70 6f 73 69 74 69 6f |g cursor| positio|
|00002850| 6e 2e 20 54 68 69 73 20 | 63 6f 75 6c 64 20 62 65 |n. This |could be|
|00002860| 20 75 73 65 64 20 74 6f | 20 73 65 6c 65 63 74 20 | used to| select |
|00002870| 61 6e 0a 58 2d 61 78 69 | 73 20 72 61 6e 67 65 20 |an.X-axi|s range |
|00002880| 77 68 65 6e 20 6f 6e 65 | 20 65 6e 64 20 6f 66 20 |when one| end of |
|00002890| 74 68 65 20 72 61 6e 67 | 65 20 69 73 20 6b 6e 6f |the rang|e is kno|
|000028a0| 77 6e 2e 0a 2d 2d 20 49 | 66 20 4d 4f 44 45 3d 35 |wn..-- I|f MODE=5|
|000028b0| 2c 20 61 20 68 6f 72 69 | 7a 6f 6e 74 61 6c 20 6c |, a hori|zontal l|
|000028c0| 69 6e 65 20 69 73 20 65 | 78 74 65 6e 64 65 64 20 |ine is e|xtended |
|000028d0| 74 68 72 6f 75 67 68 20 | 74 68 65 20 63 75 72 73 |through |the curs|
|000028e0| 6f 72 0a 70 6f 73 69 74 | 69 6f 6e 20 6f 76 65 72 |or.posit|ion over|
|000028f0| 20 74 68 65 20 77 69 64 | 74 68 20 6f 66 20 74 68 | the wid|th of th|
|00002900| 65 20 64 69 73 70 6c 61 | 79 2e 20 54 68 69 73 20 |e displa|y. This |
|00002910| 63 6f 75 6c 64 20 62 65 | 20 75 73 65 64 20 74 6f |could be| used to|
|00002920| 20 73 65 6c 65 63 74 0a | 61 6e 20 58 2d 61 78 69 | select.|an X-axi|
|00002930| 73 20 76 61 6c 75 65 20 | 73 75 63 68 20 61 73 20 |s value |such as |
|00002940| 74 68 65 20 73 74 61 72 | 74 20 6f 66 20 61 6e 20 |the star|t of an |
|00002950| 58 2d 61 78 69 73 20 72 | 61 6e 67 65 2e 20 54 68 |X-axis r|ange. Th|
|00002960| 65 20 61 6e 63 68 6f 72 | 20 70 6f 69 6e 74 0a 69 |e anchor| point.i|
|00002970| 73 20 69 67 6e 6f 72 65 | 64 2e 0a 2d 2d 20 49 66 |s ignore|d..-- If|
|00002980| 20 4d 4f 44 45 3d 36 2c | 20 61 20 76 65 72 74 69 | MODE=6,| a verti|
|00002990| 63 61 6c 20 6c 69 6e 65 | 20 69 73 20 65 78 74 65 |cal line| is exte|
|000029a0| 6e 64 65 64 20 74 68 72 | 6f 75 67 68 20 74 68 65 |nded thr|ough the|
|000029b0| 20 63 75 72 73 6f 72 0a | 70 6f 73 69 74 69 6f 6e | cursor.|position|
|000029c0| 20 6f 76 65 72 20 74 68 | 65 20 68 65 69 67 68 74 | over th|e height|
|000029d0| 20 6f 66 20 74 68 65 20 | 64 69 73 70 6c 61 79 2e | of the |display.|
|000029e0| 20 54 68 69 73 20 63 6f | 75 6c 64 20 62 65 20 75 | This co|uld be u|
|000029f0| 73 65 64 20 74 6f 20 73 | 65 6c 65 63 74 0a 61 20 |sed to s|elect.a |
|00002a00| 59 2d 61 78 69 73 20 76 | 61 6c 75 65 20 73 75 63 |Y-axis v|alue suc|
|00002a10| 68 20 61 73 20 74 68 65 | 20 73 74 61 72 74 20 6f |h as the| start o|
|00002a20| 66 20 61 20 59 2d 61 78 | 69 73 20 72 61 6e 67 65 |f a Y-ax|is range|
|00002a30| 2e 20 54 68 65 20 61 6e | 63 68 6f 72 20 70 6f 69 |. The an|chor poi|
|00002a40| 6e 74 0a 69 73 20 69 67 | 6e 6f 72 65 64 2e 0a 2d |nt.is ig|nored..-|
|00002a50| 2d 20 49 66 20 4d 4f 44 | 45 3d 37 2c 20 61 20 63 |- If MOD|E=7, a c|
|00002a60| 72 6f 73 73 2d 68 61 69 | 72 2c 20 63 65 6e 74 65 |ross-hai|r, cente|
|00002a70| 72 65 64 20 6f 6e 20 74 | 68 65 20 63 75 72 73 6f |red on t|he curso|
|00002a80| 72 2c 20 69 73 20 65 78 | 74 65 6e 64 65 64 20 6f |r, is ex|tended o|
|00002a90| 76 65 72 0a 74 68 65 20 | 77 69 64 74 68 20 61 6e |ver.the |width an|
|00002aa0| 64 20 68 65 69 67 68 74 | 20 6f 66 20 74 68 65 20 |d height| of the |
|00002ab0| 64 69 73 70 6c 61 79 2e | 20 54 68 65 20 61 6e 63 |display.| The anc|
|00002ac0| 68 6f 72 20 70 6f 69 6e | 74 20 69 73 20 69 67 6e |hor poin|t is ign|
|00002ad0| 6f 72 65 64 2e 0a 0a 52 | 65 74 75 72 6e 73 3a 0a |ored...R|eturns:.|
|00002ae0| 20 50 47 42 41 4e 44 20 | 20 20 20 20 20 20 20 20 | PGBAND | |
|00002af0| 20 3a 20 31 20 69 66 20 | 74 68 65 20 63 61 6c 6c | : 1 if |the call|
|00002b00| 20 77 61 73 20 73 75 63 | 63 65 73 73 66 75 6c 3b | was suc|cessful;|
|00002b10| 20 30 20 69 66 20 74 68 | 65 20 64 65 76 69 63 65 | 0 if th|e device|
|00002b20| 0a 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |. | |
|00002b30| 20 20 20 20 68 61 73 20 | 6e 6f 20 63 75 72 73 6f | has |no curso|
|00002b40| 72 20 6f 72 20 73 6f 6d | 65 20 6f 74 68 65 72 20 |r or som|e other |
|00002b50| 65 72 72 6f 72 20 6f 63 | 63 75 72 73 2e 0a 41 72 |error oc|curs..Ar|
|00002b60| 67 75 6d 65 6e 74 73 3a | 0a 20 4d 4f 44 45 20 20 |guments:|. MODE |
|00002b70| 20 28 69 6e 70 75 74 29 | 20 20 3a 20 64 69 73 70 | (input)| : disp|
|00002b80| 6c 61 79 20 6d 6f 64 65 | 20 28 30 2c 20 31 2c 20 |lay mode| (0, 1, |
|00002b90| 2e 2e 37 3a 20 73 65 65 | 20 61 62 6f 76 65 29 2e |..7: see| above).|
|00002ba0| 0a 20 50 4f 53 4e 20 20 | 20 28 69 6e 70 75 74 29 |. POSN | (input)|
|00002bb0| 20 20 3a 20 69 66 20 50 | 4f 53 4e 3d 31 2c 20 50 | : if P|OSN=1, P|
|00002bc0| 47 42 41 4e 44 20 61 74 | 74 65 6d 70 74 73 20 74 |GBAND at|tempts t|
|00002bd0| 6f 20 70 6c 61 63 65 20 | 74 68 65 20 63 75 72 73 |o place |the curs|
|00002be0| 6f 72 0a 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |or. | |
|00002bf0| 20 20 20 20 20 20 61 74 | 20 70 6f 69 6e 74 20 28 | at| point (|
|00002c00| 58 2c 59 29 3b 20 69 66 | 20 50 4f 53 4e 3d 30 2c |X,Y); if| POSN=0,|
|00002c10| 20 69 74 20 6c 65 61 76 | 65 73 20 74 68 65 20 63 | it leav|es the c|
|00002c20| 75 72 73 6f 72 0a 20 20 | 20 20 20 20 20 20 20 20 |ursor. | |
|00002c30| 20 20 20 20 20 20 20 20 | 20 61 74 20 69 74 73 20 | | at its |
|00002c40| 63 75 72 72 65 6e 74 20 | 70 6f 73 69 74 69 6f 6e |current |position|
|00002c50| 2e 20 28 4f 6e 20 73 6f | 6d 65 20 64 65 76 69 63 |. (On so|me devic|
|00002c60| 65 73 20 74 68 69 73 0a | 20 20 20 20 20 20 20 20 |es this.| |
|00002c70| 20 20 20 20 20 20 20 20 | 20 20 20 72 65 71 75 65 | | reque|
|00002c80| 73 74 20 6d 61 79 20 62 | 65 20 69 67 6e 6f 72 65 |st may b|e ignore|
|00002c90| 64 2e 29 0a 20 58 52 45 | 46 20 20 20 28 69 6e 70 |d.). XRE|F (inp|
|00002ca0| 75 74 29 20 20 3a 20 74 | 68 65 20 77 6f 72 6c 64 |ut) : t|he world|
|00002cb0| 20 78 2d 63 6f 6f 72 64 | 69 6e 61 74 65 20 6f 66 | x-coord|inate of|
|00002cc0| 20 74 68 65 20 61 6e 63 | 68 6f 72 20 70 6f 69 6e | the anc|hor poin|
|00002cd0| 74 2e 0a 20 59 52 45 46 | 20 20 20 28 69 6e 70 75 |t.. YREF| (inpu|
|00002ce0| 74 29 20 20 3a 20 74 68 | 65 20 77 6f 72 6c 64 20 |t) : th|e world |
|00002cf0| 79 2d 63 6f 6f 72 64 69 | 6e 61 74 65 20 6f 66 20 |y-coordi|nate of |
|00002d00| 74 68 65 20 61 6e 63 68 | 6f 72 20 70 6f 69 6e 74 |the anch|or point|
|00002d10| 2e 0a 20 58 20 20 20 20 | 20 20 28 69 6e 2f 6f 75 |.. X | (in/ou|
|00002d20| 74 29 20 3a 20 74 68 65 | 20 77 6f 72 6c 64 20 78 |t) : the| world x|
|00002d30| 2d 63 6f 6f 72 64 69 6e | 61 74 65 20 6f 66 20 74 |-coordin|ate of t|
|00002d40| 68 65 20 63 75 72 73 6f | 72 2e 0a 20 59 20 20 20 |he curso|r.. Y |
|00002d50| 20 20 20 28 69 6e 2f 6f | 75 74 29 20 3a 20 74 68 | (in/o|ut) : th|
|00002d60| 65 20 77 6f 72 6c 64 20 | 79 2d 63 6f 6f 72 64 69 |e world |y-coordi|
|00002d70| 6e 61 74 65 20 6f 66 20 | 74 68 65 20 63 75 72 73 |nate of |the curs|
|00002d80| 6f 72 2e 0a 20 43 48 20 | 20 20 20 20 28 6f 75 74 |or.. CH | (out|
|00002d90| 70 75 74 29 20 3a 20 74 | 68 65 20 63 68 61 72 61 |put) : t|he chara|
|00002da0| 63 74 65 72 20 74 79 70 | 65 64 20 62 79 20 74 68 |cter typ|ed by th|
|00002db0| 65 20 75 73 65 72 3b 20 | 69 66 20 74 68 65 20 64 |e user; |if the d|
|00002dc0| 65 76 69 63 65 20 68 61 | 73 0a 20 20 20 20 20 20 |evice ha|s. |
|00002dd0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 6e 6f 20 | | no |
|00002de0| 63 75 72 73 6f 72 20 6f | 72 20 69 66 20 73 6f 6d |cursor o|r if som|
|00002df0| 65 20 6f 74 68 65 72 20 | 65 72 72 6f 72 20 6f 63 |e other |error oc|
|00002e00| 63 75 72 73 2c 20 74 68 | 65 20 76 61 6c 75 65 0a |curs, th|e value.|
|00002e10| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00002e20| 20 20 20 43 48 41 52 28 | 30 29 20 5b 41 53 43 49 | CHAR(|0) [ASCI|
|00002e30| 49 20 4e 55 4c 20 63 68 | 61 72 61 63 74 65 72 5d |I NUL ch|aracter]|
|00002e40| 20 69 73 20 72 65 74 75 | 72 6e 65 64 2e 0a 0a 4e | is retu|rned...N|
|00002e50| 6f 74 65 3a 20 54 68 65 | 20 63 75 72 73 6f 72 20 |ote: The| cursor |
|00002e60| 63 6f 6f 72 64 69 6e 61 | 74 65 73 20 28 58 2c 59 |coordina|tes (X,Y|
|00002e70| 29 20 6d 61 79 20 62 65 | 20 63 68 61 6e 67 65 64 |) may be| changed|
|00002e80| 20 62 79 20 50 47 42 41 | 4e 44 20 65 76 65 6e 20 | by PGBA|ND even |
|00002e90| 69 66 0a 74 68 65 20 64 | 65 76 69 63 65 20 68 61 |if.the d|evice ha|
|00002ea0| 73 20 6e 6f 20 63 75 72 | 73 6f 72 20 6f 72 20 69 |s no cur|sor or i|
|00002eb0| 66 20 74 68 65 20 75 73 | 65 72 20 64 6f 65 73 20 |f the us|er does |
|00002ec0| 6e 6f 74 20 6d 6f 76 65 | 20 74 68 65 20 63 75 72 |not move| the cur|
|00002ed0| 73 6f 72 2e 0a 55 6e 64 | 65 72 20 74 68 65 73 65 |sor..Und|er these|
|00002ee0| 20 63 69 72 63 75 6d 73 | 74 61 6e 63 65 73 2c 20 | circums|tances, |
|00002ef0| 74 68 65 20 70 6f 73 69 | 74 69 6f 6e 20 72 65 74 |the posi|tion ret|
|00002f00| 75 72 6e 65 64 20 69 6e | 20 28 58 2c 59 29 20 69 |urned in| (X,Y) i|
|00002f10| 73 20 74 68 61 74 20 6f | 66 0a 74 68 65 20 70 69 |s that o|f.the pi|
|00002f20| 78 65 6c 20 6e 65 61 72 | 65 73 74 20 74 6f 20 74 |xel near|est to t|
|00002f30| 68 65 20 72 65 71 75 65 | 73 74 65 64 20 70 6f 73 |he reque|sted pos|
|00002f40| 69 74 69 6f 6e 2e 0a 0a | 0a 2d 2d 2d 2d 2d 2d 2d |ition...|.-------|
|00002f50| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00002f60| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00002f70| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00002f80| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00002f90| 2d 0a 4d 6f 64 75 6c 65 | 3a 20 50 47 42 42 55 46 |-.Module|: PGBBUF|
|00002fa0| 20 2d 2d 20 62 65 67 69 | 6e 20 62 61 74 63 68 20 | -- begi|n batch |
|00002fb0| 6f 66 20 6f 75 74 70 75 | 74 20 28 62 75 66 66 65 |of outpu|t (buffe|
|00002fc0| 72 29 0a 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |r).-----|--------|
|00002fd0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00002fe0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00002ff0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00003000| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 0a 0a 20 20 20 |--------|---.. |
|00003010| 20 20 20 53 55 42 52 4f | 55 54 49 4e 45 20 50 47 | SUBRO|UTINE PG|
|00003020| 42 42 55 46 0a 0a 42 65 | 67 69 6e 20 73 61 76 69 |BBUF..Be|gin savi|
|00003030| 6e 67 20 67 72 61 70 68 | 69 63 61 6c 20 6f 75 74 |ng graph|ical out|
|00003040| 70 75 74 20 63 6f 6d 6d | 61 6e 64 73 20 69 6e 20 |put comm|ands in |
|00003050| 61 6e 20 69 6e 74 65 72 | 6e 61 6c 20 62 75 66 66 |an inter|nal buff|
|00003060| 65 72 3b 20 74 68 65 0a | 63 6f 6d 6d 61 6e 64 73 |er; the.|commands|
|00003070| 20 61 72 65 20 68 65 6c | 64 20 75 6e 74 69 6c 20 | are hel|d until |
|00003080| 61 20 6d 61 74 63 68 69 | 6e 67 20 50 47 45 42 55 |a matchi|ng PGEBU|
|00003090| 46 20 63 61 6c 6c 20 28 | 6f 72 20 75 6e 74 69 6c |F call (|or until|
|000030a0| 20 74 68 65 20 62 75 66 | 66 65 72 0a 69 73 20 65 | the buf|fer.is e|
|000030b0| 6d 70 74 69 65 64 20 62 | 79 20 50 47 55 50 44 54 |mptied b|y PGUPDT|
|000030c0| 29 2e 20 54 68 69 73 20 | 63 61 6e 20 67 72 65 61 |). This |can grea|
|000030d0| 74 6c 79 20 69 6d 70 72 | 6f 76 65 20 74 68 65 20 |tly impr|ove the |
|000030e0| 65 66 66 69 63 69 65 6e | 63 79 20 6f 66 0a 50 47 |efficien|cy of.PG|
|000030f0| 50 4c 4f 54 2e 20 20 50 | 47 42 42 55 46 20 69 6e |PLOT. P|GBBUF in|
|00003100| 63 72 65 6d 65 6e 74 73 | 20 61 6e 20 69 6e 74 65 |crements| an inte|
|00003110| 72 6e 61 6c 20 63 6f 75 | 6e 74 65 72 2c 20 77 68 |rnal cou|nter, wh|
|00003120| 69 6c 65 20 50 47 45 42 | 55 46 0a 64 65 63 72 65 |ile PGEB|UF.decre|
|00003130| 6d 65 6e 74 73 20 74 68 | 69 73 20 63 6f 75 6e 74 |ments th|is count|
|00003140| 65 72 20 61 6e 64 20 66 | 6c 75 73 68 65 73 20 74 |er and f|lushes t|
|00003150| 68 65 20 62 75 66 66 65 | 72 20 74 6f 20 74 68 65 |he buffe|r to the|
|00003160| 20 6f 75 74 70 75 74 0a | 64 65 76 69 63 65 20 77 | output.|device w|
|00003170| 68 65 6e 20 74 68 65 20 | 63 6f 75 6e 74 65 72 20 |hen the |counter |
|00003180| 64 72 6f 70 73 20 74 6f | 20 7a 65 72 6f 2e 20 20 |drops to| zero. |
|00003190| 50 47 42 42 55 46 20 61 | 6e 64 20 50 47 45 42 55 |PGBBUF a|nd PGEBU|
|000031a0| 46 20 63 61 6c 6c 73 0a | 73 68 6f 75 6c 64 20 61 |F calls.|should a|
|000031b0| 6c 77 61 79 73 20 62 65 | 20 70 61 69 72 65 64 2e |lways be| paired.|
|000031c0| 0a 0a 41 72 67 75 6d 65 | 6e 74 73 3a 20 6e 6f 6e |..Argume|nts: non|
|000031d0| 65 0a 0a 0a 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |e...----|--------|
|000031e0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|000031f0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00003200| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00003210| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 0a 4d 6f 64 |--------|----.Mod|
|00003220| 75 6c 65 3a 20 50 47 42 | 45 47 20 2d 2d 20 62 65 |ule: PGB|EG -- be|
|00003230| 67 69 6e 20 50 47 50 4c | 4f 54 2c 20 6f 70 65 6e |gin PGPL|OT, open|
|00003240| 20 6f 75 74 70 75 74 20 | 64 65 76 69 63 65 0a 2d | output |device.-|
|00003250| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00003260| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00003270| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00003280| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00003290| 2d 2d 2d 2d 2d 2d 2d 0a | 0a 20 20 20 20 20 20 49 |-------.|. I|
|000032a0| 4e 54 45 47 45 52 20 46 | 55 4e 43 54 49 4f 4e 20 |NTEGER F|UNCTION |
|000032b0| 50 47 42 45 47 20 28 55 | 4e 49 54 2c 20 46 49 4c |PGBEG (U|NIT, FIL|
|000032c0| 45 2c 20 4e 58 53 55 42 | 2c 20 4e 59 53 55 42 29 |E, NXSUB|, NYSUB)|
|000032d0| 0a 20 20 20 20 20 20 49 | 4e 54 45 47 45 52 20 20 |. I|NTEGER |
|000032e0| 20 20 20 20 20 55 4e 49 | 54 0a 20 20 20 20 20 20 | UNI|T. |
|000032f0| 43 48 41 52 41 43 54 45 | 52 2a 28 2a 29 20 46 49 |CHARACTE|R*(*) FI|
|00003300| 4c 45 0a 20 20 20 20 20 | 20 49 4e 54 45 47 45 52 |LE. | INTEGER|
|00003310| 20 20 20 20 20 20 20 4e | 58 53 55 42 2c 20 4e 59 | N|XSUB, NY|
|00003320| 53 55 42 0a 0a 42 65 67 | 69 6e 20 50 47 50 4c 4f |SUB..Beg|in PGPLO|
|00003330| 54 2c 20 6f 70 65 6e 20 | 74 68 65 20 70 6c 6f 74 |T, open |the plot|
|00003340| 20 66 69 6c 65 2e 20 20 | 41 20 63 61 6c 6c 20 74 | file. |A call t|
|00003350| 6f 20 50 47 42 45 47 20 | 69 73 0a 72 65 71 75 69 |o PGBEG |is.requi|
|00003360| 72 65 64 20 62 65 66 6f | 72 65 20 61 6e 79 20 6f |red befo|re any o|
|00003370| 74 68 65 72 20 63 61 6c | 6c 73 20 74 6f 20 50 47 |ther cal|ls to PG|
|00003380| 50 4c 4f 54 20 73 75 62 | 72 6f 75 74 69 6e 65 73 |PLOT sub|routines|
|00003390| 2e 20 20 49 66 20 61 20 | 70 6c 6f 74 0a 66 69 6c |. If a |plot.fil|
|000033a0| 65 20 69 73 20 61 6c 72 | 65 61 64 79 20 6f 70 65 |e is alr|eady ope|
|000033b0| 6e 20 66 6f 72 20 50 47 | 50 4c 4f 54 20 6f 75 74 |n for PG|PLOT out|
|000033c0| 70 75 74 2c 20 69 74 20 | 69 73 20 63 6c 6f 73 65 |put, it |is close|
|000033d0| 64 20 62 65 66 6f 72 65 | 20 74 68 65 20 6e 65 77 |d before| the new|
|000033e0| 0a 66 69 6c 65 20 69 73 | 20 6f 70 65 6e 65 64 2e |.file is| opened.|
|000033f0| 0a 0a 52 65 74 75 72 6e | 73 3a 0a 20 50 47 42 45 |..Return|s:. PGBE|
|00003400| 47 20 20 20 20 20 20 20 | 20 20 3a 20 61 20 73 74 |G | : a st|
|00003410| 61 74 75 73 20 72 65 74 | 75 72 6e 20 76 61 6c 75 |atus ret|urn valu|
|00003420| 65 2e 20 41 20 76 61 6c | 75 65 20 6f 66 20 31 20 |e. A val|ue of 1 |
|00003430| 69 6e 64 69 63 61 74 65 | 73 0a 20 20 20 20 20 20 |indicate|s. |
|00003440| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 73 75 63 | | suc|
|00003450| 63 65 73 73 66 75 6c 20 | 63 6f 6d 70 6c 65 74 69 |cessful |completi|
|00003460| 6f 6e 2c 20 61 6e 79 20 | 6f 74 68 65 72 20 76 61 |on, any |other va|
|00003470| 6c 75 65 20 69 6e 64 69 | 63 61 74 65 73 0a 20 20 |lue indi|cates. |
|00003480| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00003490| 20 61 6e 20 65 72 72 6f | 72 2e 20 49 6e 20 74 68 | an erro|r. In th|
|000034a0| 65 20 65 76 65 6e 74 20 | 6f 66 20 65 72 72 6f 72 |e event |of error|
|000034b0| 20 61 20 6d 65 73 73 61 | 67 65 20 69 73 0a 20 20 | a messa|ge is. |
|000034c0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000034d0| 20 77 72 69 74 74 65 6e | 20 6f 6e 20 74 68 65 20 | written| on the |
|000034e0| 73 74 61 6e 64 61 72 64 | 20 65 72 72 6f 72 20 75 |standard| error u|
|000034f0| 6e 69 74 2e 20 20 0a 20 | 20 20 20 20 20 20 20 20 |nit. . | |
|00003500| 20 20 20 20 20 20 20 20 | 20 20 54 6f 20 74 65 73 | | To tes|
|00003510| 74 20 74 68 65 20 72 65 | 74 75 72 6e 20 76 61 6c |t the re|turn val|
|00003520| 75 65 2c 20 63 61 6c 6c | 0a 20 20 20 20 20 20 20 |ue, call|. |
|00003530| 20 20 20 20 20 20 20 20 | 20 20 20 20 50 47 42 45 | | PGBE|
|00003540| 47 20 61 73 20 61 20 66 | 75 6e 63 74 69 6f 6e 2c |G as a f|unction,|
|00003550| 20 65 67 20 49 45 52 3d | 50 47 42 45 47 28 2e 2e | eg IER=|PGBEG(..|
|00003560| 2e 29 3b 20 6e 6f 74 65 | 0a 20 20 20 20 20 20 20 |.); note|. |
|00003570| 20 20 20 20 20 20 20 20 | 20 20 20 20 74 68 61 74 | | that|
|00003580| 20 50 47 42 45 47 20 6d | 75 73 74 20 62 65 20 64 | PGBEG m|ust be d|
|00003590| 65 63 6c 61 72 65 64 20 | 49 4e 54 45 47 45 52 20 |eclared |INTEGER |
|000035a0| 69 6e 20 74 68 65 0a 20 | 20 20 20 20 20 20 20 20 |in the. | |
|000035b0| 20 20 20 20 20 20 20 20 | 20 20 63 61 6c 6c 69 6e | | callin|
|000035c0| 67 20 70 72 6f 67 72 61 | 6d 2e 0a 41 72 67 75 6d |g progra|m..Argum|
|000035d0| 65 6e 74 73 3a 0a 20 55 | 4e 49 54 20 20 28 69 6e |ents:. U|NIT (in|
|000035e0| 70 75 74 29 20 20 20 3a | 20 74 68 69 73 20 61 72 |put) :| this ar|
|000035f0| 67 75 6d 65 6e 74 20 69 | 73 20 69 67 6e 6f 72 65 |gument i|s ignore|
|00003600| 64 20 62 79 20 50 47 42 | 45 47 20 28 75 73 65 20 |d by PGB|EG (use |
|00003610| 7a 65 72 6f 29 2e 0a 20 | 46 49 4c 45 20 20 28 69 |zero).. |FILE (i|
|00003620| 6e 70 75 74 29 20 20 20 | 3a 20 74 68 65 20 22 64 |nput) |: the "d|
|00003630| 65 76 69 63 65 20 73 70 | 65 63 69 66 69 63 61 74 |evice sp|ecificat|
|00003640| 69 6f 6e 22 20 66 6f 72 | 20 74 68 65 20 70 6c 6f |ion" for| the plo|
|00003650| 74 20 64 65 76 69 63 65 | 2e 0a 20 20 20 20 20 20 |t device|.. |
|00003660| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 44 65 76 | | Dev|
|00003670| 69 63 65 20 73 70 65 63 | 69 66 69 63 61 74 69 6f |ice spec|ificatio|
|00003680| 6e 73 20 61 72 65 20 69 | 6e 73 74 61 6c 6c 61 74 |ns are i|nstallat|
|00003690| 69 6f 6e 20 64 65 70 65 | 6e 64 65 6e 74 2c 0a 20 |ion depe|ndent,. |
|000036a0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000036b0| 20 20 62 75 74 20 75 73 | 75 61 6c 6c 79 20 68 61 | but us|ually ha|
|000036c0| 76 65 20 74 68 65 20 66 | 6f 72 6d 20 22 64 65 76 |ve the f|orm "dev|
|000036d0| 69 63 65 2f 74 79 70 65 | 22 20 6f 72 0a 20 20 20 |ice/type|" or. |
|000036e0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000036f0| 22 66 69 6c 65 2f 74 79 | 70 65 22 2e 20 49 66 20 |"file/ty|pe". If |
|00003700| 74 68 69 73 20 61 72 67 | 75 6d 65 6e 74 20 69 73 |this arg|ument is|
|00003710| 20 61 0a 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | a. | |
|00003720| 20 20 20 20 20 20 71 75 | 65 73 74 69 6f 6e 20 6d | qu|estion m|
|00003730| 61 72 6b 20 28 27 3f 27 | 29 2c 20 50 47 42 45 47 |ark ('?'|), PGBEG|
|00003740| 20 77 69 6c 6c 20 70 72 | 6f 6d 70 74 20 74 68 65 | will pr|ompt the|
|00003750| 20 75 73 65 72 0a 20 20 | 20 20 20 20 20 20 20 20 | user. | |
|00003760| 20 20 20 20 20 20 20 20 | 20 74 6f 20 73 75 70 70 | | to supp|
|00003770| 6c 79 20 61 20 73 74 72 | 69 6e 67 2e 20 49 66 20 |ly a str|ing. If |
|00003780| 74 68 65 20 61 72 67 75 | 6d 65 6e 74 20 69 73 20 |the argu|ment is |
|00003790| 61 20 62 6c 61 6e 6b 0a | 20 20 20 20 20 20 20 20 |a blank.| |
|000037a0| 20 20 20 20 20 20 20 20 | 20 20 20 73 74 72 69 6e | | strin|
|000037b0| 67 20 28 27 20 27 29 2c | 20 50 47 42 45 47 20 77 |g (' '),| PGBEG w|
|000037c0| 69 6c 6c 20 75 73 65 20 | 74 68 65 20 76 61 6c 75 |ill use |the valu|
|000037d0| 65 20 6f 66 0a 20 20 20 | 20 20 20 20 20 20 20 20 |e of. | |
|000037e0| 20 20 20 20 20 20 20 20 | 65 6e 76 69 72 6f 6e 6d | |environm|
|000037f0| 65 6e 74 20 76 61 72 69 | 61 62 6c 65 20 50 47 50 |ent vari|able PGP|
|00003800| 4c 4f 54 5f 44 45 56 2e | 0a 20 4e 58 53 55 42 20 |LOT_DEV.|. NXSUB |
|00003810| 20 28 69 6e 70 75 74 29 | 20 20 3a 20 74 68 65 20 | (input)| : the |
|00003820| 6e 75 6d 62 65 72 20 6f | 66 20 73 75 62 64 69 76 |number o|f subdiv|
|00003830| 69 73 69 6f 6e 73 20 6f | 66 20 74 68 65 20 76 69 |isions o|f the vi|
|00003840| 65 77 20 73 75 72 66 61 | 63 65 20 69 6e 0a 20 20 |ew surfa|ce in. |
|00003850| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00003860| 20 58 20 28 3e 30 20 6f | 72 20 3c 30 29 2e 0a 20 | X (>0 o|r <0).. |
|00003870| 4e 59 53 55 42 20 20 28 | 69 6e 70 75 74 29 20 20 |NYSUB (|input) |
|00003880| 3a 20 74 68 65 20 6e 75 | 6d 62 65 72 20 6f 66 20 |: the nu|mber of |
|00003890| 73 75 62 64 69 76 69 73 | 69 6f 6e 73 20 6f 66 20 |subdivis|ions of |
|000038a0| 74 68 65 20 76 69 65 77 | 20 73 75 72 66 61 63 65 |the view| surface|
|000038b0| 20 69 6e 0a 20 20 20 20 | 20 20 20 20 20 20 20 20 | in. | |
|000038c0| 20 20 20 20 20 20 20 59 | 20 28 3e 30 29 2e 0a 20 | Y| (>0).. |
|000038d0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000038e0| 20 20 50 47 50 4c 4f 54 | 20 70 75 74 73 20 4e 58 | PGPLOT| puts NX|
|000038f0| 53 55 42 20 78 20 4e 59 | 53 55 42 20 67 72 61 70 |SUB x NY|SUB grap|
|00003900| 68 73 20 6f 6e 20 65 61 | 63 68 20 70 6c 6f 74 0a |hs on ea|ch plot.|
|00003910| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00003920| 20 20 20 70 61 67 65 20 | 6f 72 20 73 63 72 65 65 | page |or scree|
|00003930| 6e 3b 20 77 68 65 6e 20 | 74 68 65 20 76 69 65 77 |n; when |the view|
|00003940| 20 73 75 72 66 61 63 65 | 20 69 73 20 73 75 62 2d | surface| is sub-|
|00003950| 0a 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |. | |
|00003960| 20 20 20 20 64 69 76 69 | 64 65 64 20 69 6e 20 74 | divi|ded in t|
|00003970| 68 69 73 20 77 61 79 2c | 20 50 47 50 41 47 45 20 |his way,| PGPAGE |
|00003980| 6d 6f 76 65 73 20 74 6f | 20 74 68 65 20 6e 65 78 |moves to| the nex|
|00003990| 74 0a 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |t. | |
|000039a0| 20 20 20 20 20 70 61 6e | 65 6c 2c 20 6e 6f 74 20 | pan|el, not |
|000039b0| 74 68 65 20 20 6e 65 78 | 74 20 70 68 79 73 69 63 |the nex|t physic|
|000039c0| 61 6c 20 70 61 67 65 2e | 20 49 66 0a 20 20 20 20 |al page.| If. |
|000039d0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 4e | | N|
|000039e0| 58 53 55 42 20 3e 20 30 | 2c 20 50 47 50 4c 4f 54 |XSUB > 0|, PGPLOT|
|000039f0| 20 75 73 65 73 20 74 68 | 65 20 70 61 6e 65 6c 73 | uses th|e panels|
|00003a00| 20 69 6e 20 72 6f 77 0a | 20 20 20 20 20 20 20 20 | in row.| |
|00003a10| 20 20 20 20 20 20 20 20 | 20 20 20 6f 72 64 65 72 | | order|
|00003a20| 3b 20 69 66 20 3c 30 2c | 20 50 47 50 4c 4f 54 20 |; if <0,| PGPLOT |
|00003a30| 75 73 65 73 20 74 68 65 | 6d 20 69 6e 20 63 6f 6c |uses the|m in col|
|00003a40| 75 6d 6e 20 6f 72 64 65 | 72 2e 0a 0a 0a 2d 2d 2d |umn orde|r....---|
|00003a50| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00003a60| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00003a70| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00003a80| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00003a90| 2d 2d 2d 2d 2d 0a 4d 6f | 64 75 6c 65 3a 20 50 47 |-----.Mo|dule: PG|
|00003aa0| 42 49 4e 20 2d 2d 20 68 | 69 73 74 6f 67 72 61 6d |BIN -- h|istogram|
|00003ab0| 20 6f 66 20 62 69 6e 6e | 65 64 20 64 61 74 61 0a | of binn|ed data.|
|00003ac0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00003ad0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00003ae0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00003af0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00003b00| 2d 2d 2d 2d 2d 2d 2d 2d | 0a 0a 20 20 20 20 20 20 |--------|.. |
|00003b10| 53 55 42 52 4f 55 54 49 | 4e 45 20 50 47 42 49 4e |SUBROUTI|NE PGBIN|
|00003b20| 20 28 4e 42 49 4e 2c 20 | 58 2c 20 44 41 54 41 2c | (NBIN, |X, DATA,|
|00003b30| 20 43 45 4e 54 45 52 29 | 0a 20 20 20 20 20 20 49 | CENTER)|. I|
|00003b40| 4e 54 45 47 45 52 20 4e | 42 49 4e 0a 20 20 20 20 |NTEGER N|BIN. |
|00003b50| 20 20 52 45 41 4c 20 58 | 28 2a 29 2c 20 44 41 54 | REAL X|(*), DAT|
|00003b60| 41 28 2a 29 0a 20 20 20 | 20 20 20 4c 4f 47 49 43 |A(*). | LOGIC|
|00003b70| 41 4c 20 43 45 4e 54 45 | 52 0a 0a 50 6c 6f 74 20 |AL CENTE|R..Plot |
|00003b80| 61 20 68 69 73 74 6f 67 | 72 61 6d 20 6f 66 20 4e |a histog|ram of N|
|00003b90| 42 49 4e 20 76 61 6c 75 | 65 73 20 77 69 74 68 20 |BIN valu|es with |
|00003ba0| 58 28 31 2e 2e 4e 42 49 | 4e 29 20 76 61 6c 75 65 |X(1..NBI|N) value|
|00003bb0| 73 20 61 6c 6f 6e 67 0a | 74 68 65 20 6f 72 64 69 |s along.|the ordi|
|00003bc0| 6e 61 74 65 2c 20 61 6e | 64 20 44 41 54 41 28 31 |nate, an|d DATA(1|
|00003bd0| 2e 2e 2e 4e 42 49 4e 29 | 20 61 6c 6f 6e 67 20 74 |...NBIN)| along t|
|00003be0| 68 65 20 61 62 73 63 69 | 73 73 61 2e 20 42 69 6e |he absci|ssa. Bin|
|00003bf0| 20 77 69 64 74 68 20 69 | 73 0a 73 70 61 63 69 6e | width i|s.spacin|
|00003c00| 67 20 62 65 74 77 65 65 | 6e 20 58 20 76 61 6c 75 |g betwee|n X valu|
|00003c10| 65 73 2e 0a 0a 41 72 67 | 75 6d 65 6e 74 73 3a 0a |es...Arg|uments:.|
|00003c20| 20 4e 42 49 4e 20 20 20 | 28 69 6e 70 75 74 29 20 | NBIN |(input) |
|00003c30| 20 3a 20 6e 75 6d 62 65 | 72 20 6f 66 20 76 61 6c | : numbe|r of val|
|00003c40| 75 65 73 2e 0a 20 58 20 | 20 20 20 20 20 28 69 6e |ues.. X | (in|
|00003c50| 70 75 74 29 20 20 3a 20 | 61 62 73 63 69 73 73 61 |put) : |abscissa|
|00003c60| 65 20 6f 66 20 62 69 6e | 73 2e 0a 20 44 41 54 41 |e of bin|s.. DATA|
|00003c70| 20 20 20 28 69 6e 70 75 | 74 29 20 20 3a 20 64 61 | (inpu|t) : da|
|00003c80| 74 61 20 76 61 6c 75 65 | 73 20 6f 66 20 62 69 6e |ta value|s of bin|
|00003c90| 73 2e 0a 20 43 45 4e 54 | 45 52 20 28 69 6e 70 75 |s.. CENT|ER (inpu|
|00003ca0| 74 29 20 20 3a 20 69 66 | 20 2e 54 52 55 45 2e 2c |t) : if| .TRUE.,|
|00003cb0| 20 74 68 65 20 58 20 76 | 61 6c 75 65 73 20 64 65 | the X v|alues de|
|00003cc0| 6e 6f 74 65 20 74 68 65 | 20 63 65 6e 74 65 72 20 |note the| center |
|00003cd0| 6f 66 20 74 68 65 0a 20 | 20 20 20 20 20 20 20 20 |of the. | |
|00003ce0| 20 20 20 20 20 20 20 20 | 20 20 62 69 6e 3b 20 69 | | bin; i|
|00003cf0| 66 20 2e 46 41 4c 53 45 | 2e 2c 20 74 68 65 20 58 |f .FALSE|., the X|
|00003d00| 20 76 61 6c 75 65 73 20 | 64 65 6e 6f 74 65 20 74 | values |denote t|
|00003d10| 68 65 20 6c 6f 77 65 72 | 0a 20 20 20 20 20 20 20 |he lower|. |
|00003d20| 20 20 20 20 20 20 20 20 | 20 20 20 20 65 64 67 65 | | edge|
|00003d30| 20 28 69 6e 20 58 29 20 | 6f 66 20 74 68 65 20 62 | (in X) |of the b|
|00003d40| 69 6e 2e 0a 0a 0a 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |in....--|--------|
|00003d50| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00003d60| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00003d70| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00003d80| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 0a 4d |--------|------.M|
|00003d90| 6f 64 75 6c 65 3a 20 50 | 47 42 4f 58 20 2d 2d 20 |odule: P|GBOX -- |
|00003da0| 64 72 61 77 20 6c 61 62 | 65 6c 65 64 20 66 72 61 |draw lab|eled fra|
|00003db0| 6d 65 20 61 72 6f 75 6e | 64 20 76 69 65 77 70 6f |me aroun|d viewpo|
|00003dc0| 72 74 0a 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |rt.-----|--------|
|00003dd0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00003de0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00003df0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00003e00| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 0a 0a 20 20 20 |--------|---.. |
|00003e10| 20 20 20 53 55 42 52 4f | 55 54 49 4e 45 20 50 47 | SUBRO|UTINE PG|
|00003e20| 42 4f 58 20 28 58 4f 50 | 54 2c 20 58 54 49 43 4b |BOX (XOP|T, XTICK|
|00003e30| 2c 20 4e 58 53 55 42 2c | 20 59 4f 50 54 2c 20 59 |, NXSUB,| YOPT, Y|
|00003e40| 54 49 43 4b 2c 20 4e 59 | 53 55 42 29 0a 20 20 20 |TICK, NY|SUB). |
|00003e50| 20 20 20 43 48 41 52 41 | 43 54 45 52 2a 28 2a 29 | CHARA|CTER*(*)|
|00003e60| 20 58 4f 50 54 2c 20 59 | 4f 50 54 0a 20 20 20 20 | XOPT, Y|OPT. |
|00003e70| 20 20 52 45 41 4c 20 58 | 54 49 43 4b 2c 20 59 54 | REAL X|TICK, YT|
|00003e80| 49 43 4b 0a 20 20 20 20 | 20 20 49 4e 54 45 47 45 |ICK. | INTEGE|
|00003e90| 52 20 4e 58 53 55 42 2c | 20 4e 59 53 55 42 0a 0a |R NXSUB,| NYSUB..|
|00003ea0| 41 6e 6e 6f 74 61 74 65 | 20 74 68 65 20 76 69 65 |Annotate| the vie|
|00003eb0| 77 70 6f 72 74 20 77 69 | 74 68 20 66 72 61 6d 65 |wport wi|th frame|
|00003ec0| 2c 20 61 78 65 73 2c 20 | 6e 75 6d 65 72 69 63 20 |, axes, |numeric |
|00003ed0| 6c 61 62 65 6c 73 2c 20 | 65 74 63 2e 0a 50 47 42 |labels, |etc..PGB|
|00003ee0| 4f 58 20 69 73 20 63 61 | 6c 6c 65 64 20 62 79 20 |OX is ca|lled by |
|00003ef0| 6f 6e 20 74 68 65 20 75 | 73 65 72 27 73 20 62 65 |on the u|ser's be|
|00003f00| 68 61 6c 66 20 62 79 20 | 50 47 45 4e 56 2c 20 62 |half by |PGENV, b|
|00003f10| 75 74 20 6d 61 79 20 61 | 6c 73 6f 20 62 65 0a 63 |ut may a|lso be.c|
|00003f20| 61 6c 6c 65 64 20 65 78 | 70 6c 69 63 69 74 6c 79 |alled ex|plicitly|
|00003f30| 2e 0a 0a 41 72 67 75 6d | 65 6e 74 73 3a 0a 20 58 |...Argum|ents:. X|
|00003f40| 4f 50 54 20 20 20 28 69 | 6e 70 75 74 29 20 20 3a |OPT (i|nput) :|
|00003f50| 20 73 74 72 69 6e 67 20 | 6f 66 20 6f 70 74 69 6f | string |of optio|
|00003f60| 6e 73 20 66 6f 72 20 58 | 20 28 68 6f 72 69 7a 6f |ns for X| (horizo|
|00003f70| 6e 74 61 6c 29 20 61 78 | 69 73 20 6f 66 0a 20 20 |ntal) ax|is of. |
|00003f80| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00003f90| 20 70 6c 6f 74 2e 20 4f | 70 74 69 6f 6e 73 20 61 | plot. O|ptions a|
|00003fa0| 72 65 20 73 69 6e 67 6c | 65 20 6c 65 74 74 65 72 |re singl|e letter|
|00003fb0| 73 2c 20 61 6e 64 20 6d | 61 79 20 62 65 20 69 6e |s, and m|ay be in|
|00003fc0| 0a 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |. | |
|00003fd0| 20 20 20 20 61 6e 79 20 | 6f 72 64 65 72 20 28 73 | any |order (s|
|00003fe0| 65 65 20 62 65 6c 6f 77 | 29 2e 0a 20 58 54 49 43 |ee below|).. XTIC|
|00003ff0| 4b 20 20 28 69 6e 70 75 | 74 29 20 20 3a 20 77 6f |K (inpu|t) : wo|
|00004000| 72 6c 64 20 63 6f 6f 72 | 64 69 6e 61 74 65 20 69 |rld coor|dinate i|
|00004010| 6e 74 65 72 76 61 6c 20 | 62 65 74 77 65 65 6e 20 |nterval |between |
|00004020| 6d 61 6a 6f 72 20 74 69 | 63 6b 20 6d 61 72 6b 73 |major ti|ck marks|
|00004030| 0a 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |. | |
|00004040| 20 20 20 20 6f 6e 20 58 | 20 61 78 69 73 2e 20 49 | on X| axis. I|
|00004050| 66 20 58 54 49 43 4b 3d | 30 2e 30 2c 20 74 68 65 |f XTICK=|0.0, the|
|00004060| 20 69 6e 74 65 72 76 61 | 6c 20 69 73 20 63 68 6f | interva|l is cho|
|00004070| 73 65 6e 20 62 79 0a 20 | 20 20 20 20 20 20 20 20 |sen by. | |
|00004080| 20 20 20 20 20 20 20 20 | 20 20 50 47 42 4f 58 2c | | PGBOX,|
|00004090| 20 73 6f 20 74 68 61 74 | 20 74 68 65 72 65 20 77 | so that| there w|
|000040a0| 69 6c 6c 20 62 65 20 61 | 74 20 6c 65 61 73 74 20 |ill be a|t least |
|000040b0| 33 20 6d 61 6a 6f 72 20 | 74 69 63 6b 0a 20 20 20 |3 major |tick. |
|000040c0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000040d0| 6d 61 72 6b 73 20 61 6c | 6f 6e 67 20 74 68 65 20 |marks al|ong the |
|000040e0| 61 78 69 73 2e 0a 20 4e | 58 53 55 42 20 20 28 69 |axis.. N|XSUB (i|
|000040f0| 6e 70 75 74 29 20 20 3a | 20 74 68 65 20 6e 75 6d |nput) :| the num|
|00004100| 62 65 72 20 6f 66 20 73 | 75 62 69 6e 74 65 72 76 |ber of s|ubinterv|
|00004110| 61 6c 73 20 74 6f 20 64 | 69 76 69 64 65 20 74 68 |als to d|ivide th|
|00004120| 65 20 6d 61 6a 6f 72 0a | 20 20 20 20 20 20 20 20 |e major.| |
|00004130| 20 20 20 20 20 20 20 20 | 20 20 20 63 6f 6f 72 64 | | coord|
|00004140| 69 6e 61 74 65 20 69 6e | 74 65 72 76 61 6c 20 69 |inate in|terval i|
|00004150| 6e 74 6f 2e 20 49 66 20 | 58 54 49 43 4b 3d 30 2e |nto. If |XTICK=0.|
|00004160| 30 20 6f 72 20 4e 58 53 | 55 42 3d 30 2c 0a 20 20 |0 or NXS|UB=0,. |
|00004170| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00004180| 20 74 68 65 20 6e 75 6d | 62 65 72 20 69 73 20 63 | the num|ber is c|
|00004190| 68 6f 73 65 6e 20 62 79 | 20 50 47 42 4f 58 2e 0a |hosen by| PGBOX..|
|000041a0| 20 59 4f 50 54 20 20 20 | 28 69 6e 70 75 74 29 20 | YOPT |(input) |
|000041b0| 20 3a 20 73 74 72 69 6e | 67 20 6f 66 20 6f 70 74 | : strin|g of opt|
|000041c0| 69 6f 6e 73 20 66 6f 72 | 20 59 20 28 76 65 72 74 |ions for| Y (vert|
|000041d0| 69 63 61 6c 29 20 61 78 | 69 73 20 6f 66 20 70 6c |ical) ax|is of pl|
|000041e0| 6f 74 2e 0a 20 20 20 20 | 20 20 20 20 20 20 20 20 |ot.. | |
|000041f0| 20 20 20 20 20 20 20 43 | 6f 64 69 6e 67 20 69 73 | C|oding is|
|00004200| 20 74 68 65 20 73 61 6d | 65 20 61 73 20 66 6f 72 | the sam|e as for|
|00004210| 20 58 4f 50 54 2e 0a 20 | 59 54 49 43 4b 20 20 28 | XOPT.. |YTICK (|
|00004220| 69 6e 70 75 74 29 20 20 | 3a 20 6c 69 6b 65 20 58 |input) |: like X|
|00004230| 54 49 43 4b 20 66 6f 72 | 20 74 68 65 20 59 20 61 |TICK for| the Y a|
|00004240| 78 69 73 2e 0a 20 4e 59 | 53 55 42 20 20 28 69 6e |xis.. NY|SUB (in|
|00004250| 70 75 74 29 20 20 3a 20 | 6c 69 6b 65 20 4e 58 53 |put) : |like NXS|
|00004260| 55 42 20 66 6f 72 20 74 | 68 65 20 59 20 61 78 69 |UB for t|he Y axi|
|00004270| 73 2e 0a 0a 4f 70 74 69 | 6f 6e 73 20 28 66 6f 72 |s...Opti|ons (for|
|00004280| 20 70 61 72 61 6d 65 74 | 65 72 73 20 58 4f 50 54 | paramet|ers XOPT|
|00004290| 20 61 6e 64 20 59 4f 50 | 54 29 3a 0a 20 41 20 3a | and YOP|T):. A :|
|000042a0| 20 64 72 61 77 20 41 78 | 69 73 20 28 58 20 61 78 | draw Ax|is (X ax|
|000042b0| 69 73 20 69 73 20 68 6f | 72 69 7a 6f 6e 74 61 6c |is is ho|rizontal|
|000042c0| 20 6c 69 6e 65 20 59 3d | 30 2c 20 59 20 61 78 69 | line Y=|0, Y axi|
|000042d0| 73 20 69 73 20 76 65 72 | 74 69 63 61 6c 0a 20 20 |s is ver|tical. |
|000042e0| 20 20 20 6c 69 6e 65 20 | 58 3d 30 29 2e 0a 20 42 | line |X=0).. B|
|000042f0| 20 3a 20 64 72 61 77 20 | 62 6f 74 74 6f 6d 20 28 | : draw |bottom (|
|00004300| 58 29 20 6f 72 20 6c 65 | 66 74 20 28 59 29 20 65 |X) or le|ft (Y) e|
|00004310| 64 67 65 20 6f 66 20 66 | 72 61 6d 65 2e 0a 20 43 |dge of f|rame.. C|
|00004320| 20 3a 20 64 72 61 77 20 | 74 6f 70 20 28 58 29 20 | : draw |top (X) |
|00004330| 6f 72 20 72 69 67 68 74 | 20 28 59 29 20 65 64 67 |or right| (Y) edg|
|00004340| 65 20 6f 66 20 66 72 61 | 6d 65 2e 0a 20 47 20 3a |e of fra|me.. G :|
|00004350| 20 64 72 61 77 20 47 72 | 69 64 20 6f 66 20 76 65 | draw Gr|id of ve|
|00004360| 72 74 69 63 61 6c 20 28 | 58 29 20 6f 72 20 68 6f |rtical (|X) or ho|
|00004370| 72 69 7a 6f 6e 74 61 6c | 20 28 59 29 20 6c 69 6e |rizontal| (Y) lin|
|00004380| 65 73 2e 0a 20 49 20 3a | 20 49 6e 76 65 72 74 20 |es.. I :| Invert |
|00004390| 74 68 65 20 74 69 63 6b | 20 6d 61 72 6b 73 3b 20 |the tick| marks; |
|000043a0| 69 65 20 64 72 61 77 20 | 74 68 65 6d 20 6f 75 74 |ie draw |them out|
|000043b0| 73 69 64 65 20 74 68 65 | 20 76 69 65 77 70 6f 72 |side the| viewpor|
|000043c0| 74 0a 20 20 20 20 20 69 | 6e 73 74 65 61 64 20 6f |t. i|nstead o|
|000043d0| 66 20 69 6e 73 69 64 65 | 2e 0a 20 4c 20 3a 20 6c |f inside|.. L : l|
|000043e0| 61 62 65 6c 20 61 78 69 | 73 20 4c 6f 67 61 72 69 |abel axi|s Logari|
|000043f0| 74 68 6d 69 63 61 6c 6c | 79 20 28 73 65 65 20 62 |thmicall|y (see b|
|00004400| 65 6c 6f 77 29 2e 0a 20 | 4e 20 3a 20 77 72 69 74 |elow).. |N : writ|
|00004410| 65 20 4e 75 6d 65 72 69 | 63 20 6c 61 62 65 6c 73 |e Numeri|c labels|
|00004420| 20 69 6e 20 74 68 65 20 | 63 6f 6e 76 65 6e 74 69 | in the |conventi|
|00004430| 6f 6e 61 6c 20 6c 6f 63 | 61 74 69 6f 6e 20 62 65 |onal loc|ation be|
|00004440| 6c 6f 77 20 74 68 65 0a | 20 20 20 20 20 76 69 65 |low the.| vie|
|00004450| 77 70 6f 72 74 20 28 58 | 29 20 6f 72 20 74 6f 20 |wport (X|) or to |
|00004460| 74 68 65 20 6c 65 66 74 | 20 6f 66 20 74 68 65 20 |the left| of the |
|00004470| 76 69 65 77 70 6f 72 74 | 20 28 59 29 2e 0a 20 50 |viewport| (Y).. P|
|00004480| 20 3a 20 65 78 74 65 6e | 64 20 28 22 50 72 6f 6a | : exten|d ("Proj|
|00004490| 65 63 74 22 29 20 6d 61 | 6a 6f 72 20 74 69 63 6b |ect") ma|jor tick|
|000044a0| 20 6d 61 72 6b 73 20 6f | 75 74 73 69 64 65 20 74 | marks o|utside t|
|000044b0| 68 65 20 62 6f 78 20 28 | 69 67 6e 6f 72 65 64 20 |he box (|ignored |
|000044c0| 69 66 0a 20 20 20 20 20 | 6f 70 74 69 6f 6e 20 49 |if. |option I|
|000044d0| 20 69 73 20 73 70 65 63 | 69 66 69 65 64 29 2e 0a | is spec|ified)..|
|000044e0| 20 4d 20 3a 20 77 72 69 | 74 65 20 6e 75 6d 65 72 | M : wri|te numer|
|000044f0| 69 63 20 6c 61 62 65 6c | 73 20 69 6e 20 74 68 65 |ic label|s in the|
|00004500| 20 75 6e 63 6f 6e 76 65 | 6e 74 69 6f 6e 61 6c 20 | unconve|ntional |
|00004510| 6c 6f 63 61 74 69 6f 6e | 20 61 62 6f 76 65 20 74 |location| above t|
|00004520| 68 65 0a 20 20 20 20 20 | 76 69 65 77 70 6f 72 74 |he. |viewport|
|00004530| 20 28 58 29 20 6f 72 20 | 74 6f 20 74 68 65 20 72 | (X) or |to the r|
|00004540| 69 67 68 74 20 6f 66 20 | 74 68 65 20 76 69 65 77 |ight of |the view|
|00004550| 70 6f 72 74 20 28 59 29 | 2e 0a 20 54 20 3a 20 64 |port (Y)|.. T : d|
|00004560| 72 61 77 20 6d 61 6a 6f | 72 20 54 69 63 6b 20 6d |raw majo|r Tick m|
|00004570| 61 72 6b 73 20 61 74 20 | 74 68 65 20 6d 61 6a 6f |arks at |the majo|
|00004580| 72 20 63 6f 6f 72 64 69 | 6e 61 74 65 20 69 6e 74 |r coordi|nate int|
|00004590| 65 72 76 61 6c 2e 0a 20 | 53 20 3a 20 64 72 61 77 |erval.. |S : draw|
|000045a0| 20 6d 69 6e 6f 72 20 74 | 69 63 6b 20 6d 61 72 6b | minor t|ick mark|
|000045b0| 73 20 28 53 75 62 74 69 | 63 6b 73 29 2e 0a 20 56 |s (Subti|cks).. V|
|000045c0| 20 3a 20 6f 72 69 65 6e | 74 20 6e 75 6d 65 72 69 | : orien|t numeri|
|000045d0| 63 20 6c 61 62 65 6c 73 | 20 56 65 72 74 69 63 61 |c labels| Vertica|
|000045e0| 6c 6c 79 2e 20 54 68 69 | 73 20 69 73 20 6f 6e 6c |lly. Thi|s is onl|
|000045f0| 79 20 61 70 70 6c 69 63 | 61 62 6c 65 20 74 6f 20 |y applic|able to |
|00004600| 59 2e 0a 20 20 20 20 20 | 54 68 65 20 64 65 66 61 |Y.. |The defa|
|00004610| 75 6c 74 20 69 73 20 74 | 6f 20 77 72 69 74 65 20 |ult is t|o write |
|00004620| 59 2d 6c 61 62 65 6c 73 | 20 70 61 72 61 6c 6c 65 |Y-labels| paralle|
|00004630| 6c 20 74 6f 20 74 68 65 | 20 61 78 69 73 2e 0a 20 |l to the| axis.. |
|00004640| 31 20 3a 20 66 6f 72 63 | 65 20 64 65 63 69 6d 61 |1 : forc|e decima|
|00004650| 6c 20 6c 61 62 65 6c 6c | 69 6e 67 2c 20 69 6e 73 |l labell|ing, ins|
|00004660| 74 65 61 64 20 6f 66 20 | 61 75 74 6f 6d 61 74 69 |tead of |automati|
|00004670| 63 20 63 68 6f 69 63 65 | 20 28 73 65 65 20 50 47 |c choice| (see PG|
|00004680| 4e 55 4d 42 29 2e 0a 20 | 32 20 3a 20 66 6f 72 63 |NUMB).. |2 : forc|
|00004690| 65 20 65 78 70 6f 6e 65 | 6e 74 69 61 6c 20 6c 61 |e expone|ntial la|
|000046a0| 62 65 6c 6c 69 6e 67 2c | 20 69 6e 73 74 65 61 64 |belling,| instead|
|000046b0| 20 6f 66 20 61 75 74 6f | 6d 61 74 69 63 2e 0a 0a | of auto|matic...|
|000046c0| 54 6f 20 67 65 74 20 61 | 20 63 6f 6d 70 6c 65 74 |To get a| complet|
|000046d0| 65 20 66 72 61 6d 65 2c | 20 73 70 65 63 69 66 79 |e frame,| specify|
|000046e0| 20 42 43 20 69 6e 20 62 | 6f 74 68 20 58 4f 50 54 | BC in b|oth XOPT|
|000046f0| 20 61 6e 64 20 59 4f 50 | 54 2e 0a 54 69 63 6b 20 | and YOP|T..Tick |
|00004700| 6d 61 72 6b 73 2c 20 69 | 66 20 72 65 71 75 65 73 |marks, i|f reques|
|00004710| 74 65 64 2c 20 61 72 65 | 20 64 72 61 77 6e 20 6f |ted, are| drawn o|
|00004720| 6e 20 74 68 65 20 61 78 | 65 73 20 6f 72 20 66 72 |n the ax|es or fr|
|00004730| 61 6d 65 0a 6f 72 20 62 | 6f 74 68 2c 20 64 65 70 |ame.or b|oth, dep|
|00004740| 65 6e 64 69 6e 67 20 77 | 68 69 63 68 20 61 72 65 |ending w|hich are|
|00004750| 20 72 65 71 75 65 73 74 | 65 64 2e 20 49 66 20 6e | request|ed. If n|
|00004760| 6f 6e 65 20 6f 66 20 41 | 42 43 20 69 73 20 73 70 |one of A|BC is sp|
|00004770| 65 63 69 66 69 65 64 2c | 0a 74 69 63 6b 20 6d 61 |ecified,|.tick ma|
|00004780| 72 6b 73 20 77 69 6c 6c | 20 6e 6f 74 20 62 65 20 |rks will| not be |
|00004790| 64 72 61 77 6e 2e 20 57 | 68 65 6e 20 50 47 45 4e |drawn. W|hen PGEN|
|000047a0| 56 20 63 61 6c 6c 73 20 | 50 47 42 4f 58 2c 20 69 |V calls |PGBOX, i|
|000047b0| 74 20 73 65 74 73 20 62 | 6f 74 68 0a 58 4f 50 54 |t sets b|oth.XOPT|
|000047c0| 20 61 6e 64 20 59 4f 50 | 54 20 61 63 63 6f 72 64 | and YOP|T accord|
|000047d0| 69 6e 67 20 74 6f 20 74 | 68 65 20 76 61 6c 75 65 |ing to t|he value|
|000047e0| 20 6f 66 20 69 74 73 20 | 70 61 72 61 6d 65 74 65 | of its |paramete|
|000047f0| 72 20 41 58 49 53 3a 0a | 2d 31 3a 20 27 42 43 27 |r AXIS:.|-1: 'BC'|
|00004800| 2c 20 30 3a 20 27 42 43 | 4e 53 54 27 2c 20 31 3a |, 0: 'BC|NST', 1:|
|00004810| 20 27 41 42 43 4e 53 54 | 27 2c 20 32 3a 20 27 41 | 'ABCNST|', 2: 'A|
|00004820| 42 43 47 4e 53 54 27 2e | 0a 0a 46 6f 72 20 61 20 |BCGNST'.|..For a |
|00004830| 6c 6f 67 61 72 69 74 68 | 6d 69 63 20 61 78 69 73 |logarith|mic axis|
|00004840| 2c 20 74 68 65 20 6d 61 | 6a 6f 72 20 74 69 63 6b |, the ma|jor tick|
|00004850| 20 69 6e 74 65 72 76 61 | 6c 20 69 73 20 61 6c 77 | interva|l is alw|
|00004860| 61 79 73 20 31 2e 30 2e | 20 54 68 65 0a 6e 75 6d |ays 1.0.| The.num|
|00004870| 65 72 69 63 20 6c 61 62 | 65 6c 20 69 73 20 31 30 |eric lab|el is 10|
|00004880| 2a 2a 28 78 29 20 77 68 | 65 72 65 20 78 20 69 73 |**(x) wh|ere x is|
|00004890| 20 74 68 65 20 77 6f 72 | 6c 64 20 63 6f 6f 72 64 | the wor|ld coord|
|000048a0| 69 6e 61 74 65 20 61 74 | 20 74 68 65 0a 74 69 63 |inate at| the.tic|
|000048b0| 6b 20 6d 61 72 6b 2e 20 | 49 66 20 73 75 62 74 69 |k mark. |If subti|
|000048c0| 63 6b 73 20 61 72 65 20 | 72 65 71 75 65 73 74 65 |cks are |requeste|
|000048d0| 64 2c 20 38 20 73 75 62 | 74 69 63 6b 73 20 61 72 |d, 8 sub|ticks ar|
|000048e0| 65 20 64 72 61 77 6e 20 | 62 65 74 77 65 65 6e 0a |e drawn |between.|
|000048f0| 65 61 63 68 20 6d 61 6a | 6f 72 20 74 69 63 6b 20 |each maj|or tick |
|00004900| 61 74 20 65 71 75 61 6c | 20 6c 6f 67 61 72 69 74 |at equal| logarit|
|00004910| 68 6d 69 63 20 69 6e 74 | 65 72 76 61 6c 73 2e 0a |hmic int|ervals..|
|00004920| 0a 54 6f 20 6c 61 62 65 | 6c 20 61 6e 20 61 78 69 |.To labe|l an axi|
|00004930| 73 20 77 69 74 68 20 74 | 69 6d 65 20 28 64 61 79 |s with t|ime (day|
|00004940| 73 2c 20 68 6f 75 72 73 | 2c 20 6d 69 6e 75 74 65 |s, hours|, minute|
|00004950| 73 2c 20 73 65 63 6f 6e | 64 73 29 20 6f 72 0a 61 |s, secon|ds) or.a|
|00004960| 6e 67 6c 65 20 28 64 65 | 67 72 65 65 73 2c 20 61 |ngle (de|grees, a|
|00004970| 72 63 6d 69 6e 2c 20 61 | 72 63 73 65 63 29 2c 20 |rcmin, a|rcsec), |
|00004980| 75 73 65 20 72 6f 75 74 | 69 6e 65 20 50 47 54 42 |use rout|ine PGTB|
|00004990| 4f 58 2e 0a 0a 0a 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |OX....--|--------|
|000049a0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|000049b0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|000049c0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|000049d0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 0a 4d |--------|------.M|
|000049e0| 6f 64 75 6c 65 3a 20 50 | 47 43 49 52 43 20 2d 2d |odule: P|GCIRC --|
|000049f0| 20 64 72 61 77 20 61 20 | 66 69 6c 6c 65 64 20 6f | draw a |filled o|
|00004a00| 72 20 6f 75 74 6c 69 6e | 65 20 63 69 72 63 6c 65 |r outlin|e circle|
|00004a10| 0a 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |.-------|--------|
|00004a20| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00004a30| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00004a40| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00004a50| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 0a 0a 20 20 20 20 20 |--------|-.. |
|00004a60| 20 53 55 42 52 4f 55 54 | 49 4e 45 20 50 47 43 49 | SUBROUT|INE PGCI|
|00004a70| 52 43 20 28 58 43 45 4e | 54 2c 20 59 43 45 4e 54 |RC (XCEN|T, YCENT|
|00004a80| 2c 20 52 41 44 49 55 53 | 29 0a 20 20 20 20 20 20 |, RADIUS|). |
|00004a90| 52 45 41 4c 20 58 43 45 | 4e 54 2c 20 59 43 45 4e |REAL XCE|NT, YCEN|
|00004aa0| 54 2c 20 52 41 44 49 55 | 53 0a 0a 44 72 61 77 20 |T, RADIU|S..Draw |
|00004ab0| 61 20 63 69 72 63 6c 65 | 2e 20 54 68 65 20 61 63 |a circle|. The ac|
|00004ac0| 74 69 6f 6e 20 6f 66 20 | 74 68 69 73 20 72 6f 75 |tion of |this rou|
|00004ad0| 74 69 6e 65 20 64 65 70 | 65 6e 64 73 0a 6f 6e 20 |tine dep|ends.on |
|00004ae0| 74 68 65 20 73 65 74 74 | 69 6e 67 20 6f 66 20 74 |the sett|ing of t|
|00004af0| 68 65 20 46 69 6c 6c 2d | 41 72 65 61 20 53 74 79 |he Fill-|Area Sty|
|00004b00| 6c 65 20 61 74 74 72 69 | 62 75 74 65 2e 20 49 66 |le attri|bute. If|
|00004b10| 20 46 69 6c 6c 2d 41 72 | 65 61 20 53 74 79 6c 65 | Fill-Ar|ea Style|
|00004b20| 0a 69 73 20 53 4f 4c 49 | 44 20 28 74 68 65 20 64 |.is SOLI|D (the d|
|00004b30| 65 66 61 75 6c 74 29 2c | 20 74 68 65 20 69 6e 74 |efault),| the int|
|00004b40| 65 72 69 6f 72 20 6f 66 | 20 74 68 65 20 63 69 72 |erior of| the cir|
|00004b50| 63 6c 65 20 69 73 20 73 | 6f 6c 69 64 2d 66 69 6c |cle is s|olid-fil|
|00004b60| 6c 65 64 0a 75 73 69 6e | 67 20 74 68 65 20 63 75 |led.usin|g the cu|
|00004b70| 72 72 65 6e 74 20 43 6f | 6c 6f 72 20 49 6e 64 65 |rrent Co|lor Inde|
|00004b80| 78 2e 20 49 66 20 46 69 | 6c 6c 2d 41 72 65 61 20 |x. If Fi|ll-Area |
|00004b90| 53 74 79 6c 65 20 69 73 | 20 48 4f 4c 4c 4f 57 2c |Style is| HOLLOW,|
|00004ba0| 20 74 68 65 0a 6f 75 74 | 6c 69 6e 65 20 6f 66 20 | the.out|line of |
|00004bb0| 74 68 65 20 63 69 72 63 | 6c 65 20 69 73 20 64 72 |the circ|le is dr|
|00004bc0| 61 77 6e 20 75 73 69 6e | 67 20 74 68 65 20 63 75 |awn usin|g the cu|
|00004bd0| 72 72 65 6e 74 20 6c 69 | 6e 65 20 61 74 74 72 69 |rrent li|ne attri|
|00004be0| 62 75 74 65 73 0a 28 63 | 6f 6c 6f 72 20 69 6e 64 |butes.(c|olor ind|
|00004bf0| 65 78 2c 20 6c 69 6e 65 | 2d 73 74 79 6c 65 2c 20 |ex, line|-style, |
|00004c00| 61 6e 64 20 6c 69 6e 65 | 2d 77 69 64 74 68 29 2e |and line|-width).|
|00004c10| 0a 0a 41 72 67 75 6d 65 | 6e 74 73 3a 0a 20 58 43 |..Argume|nts:. XC|
|00004c20| 45 4e 54 20 20 28 69 6e | 70 75 74 29 20 20 3a 20 |ENT (in|put) : |
|00004c30| 77 6f 72 6c 64 20 78 2d | 63 6f 6f 72 64 69 6e 61 |world x-|coordina|
|00004c40| 74 65 20 6f 66 20 74 68 | 65 20 63 65 6e 74 65 72 |te of th|e center|
|00004c50| 20 6f 66 20 74 68 65 20 | 63 69 72 63 6c 65 2e 0a | of the |circle..|
|00004c60| 20 59 43 45 4e 54 20 20 | 28 69 6e 70 75 74 29 20 | YCENT |(input) |
|00004c70| 20 3a 20 77 6f 72 6c 64 | 20 79 2d 63 6f 6f 72 64 | : world| y-coord|
|00004c80| 69 6e 61 74 65 20 6f 66 | 20 74 68 65 20 63 65 6e |inate of| the cen|
|00004c90| 74 65 72 20 6f 66 20 74 | 68 65 20 63 69 72 63 6c |ter of t|he circl|
|00004ca0| 65 2e 0a 20 52 41 44 49 | 55 53 20 28 69 6e 70 75 |e.. RADI|US (inpu|
|00004cb0| 74 29 20 20 3a 20 72 61 | 64 69 75 73 20 6f 66 20 |t) : ra|dius of |
|00004cc0| 63 69 72 63 6c 65 20 28 | 77 6f 72 6c 64 20 63 6f |circle (|world co|
|00004cd0| 6f 72 64 69 6e 61 74 65 | 73 29 2e 0a 0a 0a 2d 2d |ordinate|s)....--|
|00004ce0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00004cf0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00004d00| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00004d10| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00004d20| 2d 2d 2d 2d 2d 2d 0a 4d | 6f 64 75 6c 65 3a 20 50 |------.M|odule: P|
|00004d30| 47 43 4c 4f 53 20 2d 2d | 20 63 6c 6f 73 65 20 74 |GCLOS --| close t|
|00004d40| 68 65 20 73 65 6c 65 63 | 74 65 64 20 67 72 61 70 |he selec|ted grap|
|00004d50| 68 69 63 73 20 64 65 76 | 69 63 65 0a 2d 2d 2d 2d |hics dev|ice.----|
|00004d60| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00004d70| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00004d80| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00004d90| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00004da0| 2d 2d 2d 2d 0a 0a 20 20 | 20 20 20 20 53 55 42 52 |----.. | SUBR|
|00004db0| 4f 55 54 49 4e 45 20 50 | 47 43 4c 4f 53 0a 0a 43 |OUTINE P|GCLOS..C|
|00004dc0| 6c 6f 73 65 20 74 68 65 | 20 63 75 72 72 65 6e 74 |lose the| current|
|00004dd0| 6c 79 20 73 65 6c 65 63 | 74 65 64 20 67 72 61 70 |ly selec|ted grap|
|00004de0| 68 69 63 73 20 64 65 76 | 69 63 65 2e 20 41 66 74 |hics dev|ice. Aft|
|00004df0| 65 72 20 74 68 65 20 64 | 65 76 69 63 65 20 68 61 |er the d|evice ha|
|00004e00| 73 0a 62 65 65 6e 20 63 | 6c 6f 73 65 64 2c 20 65 |s.been c|losed, e|
|00004e10| 69 74 68 65 72 20 61 6e | 6f 74 68 65 72 20 6f 70 |ither an|other op|
|00004e20| 65 6e 20 64 65 76 69 63 | 65 20 6d 75 73 74 20 62 |en devic|e must b|
|00004e30| 65 20 73 65 6c 65 63 74 | 65 64 20 77 69 74 68 20 |e select|ed with |
|00004e40| 50 47 53 4c 43 54 0a 6f | 72 20 61 6e 6f 74 68 65 |PGSLCT.o|r anothe|
|00004e50| 72 20 64 65 76 69 63 65 | 20 6d 75 73 74 20 62 65 |r device| must be|
|00004e60| 20 6f 70 65 6e 65 64 20 | 77 69 74 68 20 50 47 4f | opened |with PGO|
|00004e70| 50 45 4e 20 62 65 66 6f | 72 65 20 61 6e 79 20 66 |PEN befo|re any f|
|00004e80| 75 72 74 68 65 72 0a 70 | 6c 6f 74 74 69 6e 67 20 |urther.p|lotting |
|00004e90| 63 61 6e 20 62 65 20 64 | 6f 6e 65 2e 20 49 66 20 |can be d|one. If |
|00004ea0| 74 68 65 20 63 61 6c 6c | 20 74 6f 20 50 47 43 4c |the call| to PGCL|
|00004eb0| 4f 53 20 69 73 20 6f 6d | 69 74 74 65 64 2c 20 73 |OS is om|itted, s|
|00004ec0| 6f 6d 65 20 6f 72 20 61 | 6c 6c 20 0a 6f 66 20 74 |ome or a|ll .of t|
|00004ed0| 68 65 20 70 6c 6f 74 20 | 6d 61 79 20 62 65 20 6c |he plot |may be l|
|00004ee0| 6f 73 74 2e 0a 0a 5b 54 | 68 69 73 20 72 6f 75 74 |ost...[T|his rout|
|00004ef0| 69 6e 65 20 77 61 73 20 | 61 64 64 65 64 20 74 6f |ine was |added to|
|00004f00| 20 50 47 50 4c 4f 54 20 | 69 6e 20 56 65 72 73 69 | PGPLOT |in Versi|
|00004f10| 6f 6e 20 35 2e 31 2e 30 | 2e 20 4f 6c 64 65 72 20 |on 5.1.0|. Older |
|00004f20| 70 72 6f 67 72 61 6d 73 | 0a 75 73 65 20 50 47 45 |programs|.use PGE|
|00004f30| 4e 44 20 69 6e 73 74 65 | 61 64 2e 5d 0a 0a 41 72 |ND inste|ad.]..Ar|
|00004f40| 67 75 6d 65 6e 74 73 3a | 20 6e 6f 6e 65 0a 0a 0a |guments:| none...|
|00004f50| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00004f60| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00004f70| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00004f80| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00004f90| 2d 2d 2d 2d 2d 2d 2d 2d | 0a 4d 6f 64 75 6c 65 3a |--------|.Module:|
|00004fa0| 20 50 47 43 4f 4e 42 20 | 2d 2d 20 63 6f 6e 74 6f | PGCONB |-- conto|
|00004fb0| 75 72 20 6d 61 70 20 6f | 66 20 61 20 32 44 20 64 |ur map o|f a 2D d|
|00004fc0| 61 74 61 20 61 72 72 61 | 79 2c 20 77 69 74 68 20 |ata arra|y, with |
|00004fd0| 62 6c 61 6e 6b 69 6e 67 | 0a 2d 2d 2d 2d 2d 2d 2d |blanking|.-------|
|00004fe0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00004ff0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00005000| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00005010| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00005020| 2d 0a 0a 20 20 20 20 20 | 20 53 55 42 52 4f 55 54 |-.. | SUBROUT|
|00005030| 49 4e 45 20 50 47 43 4f | 4e 42 20 28 41 2c 20 49 |INE PGCO|NB (A, I|
|00005040| 44 49 4d 2c 20 4a 44 49 | 4d 2c 20 49 31 2c 20 49 |DIM, JDI|M, I1, I|
|00005050| 32 2c 20 4a 31 2c 20 4a | 32 2c 20 43 2c 20 4e 43 |2, J1, J|2, C, NC|
|00005060| 2c 20 54 52 2c 20 0a 20 | 20 20 20 20 31 20 20 20 |, TR, . | 1 |
|00005070| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00005080| 42 4c 41 4e 4b 29 0a 20 | 20 20 20 20 20 49 4e 54 |BLANK). | INT|
|00005090| 45 47 45 52 20 49 44 49 | 4d 2c 20 4a 44 49 4d 2c |EGER IDI|M, JDIM,|
|000050a0| 20 49 31 2c 20 49 32 2c | 20 4a 31 2c 20 4a 32 2c | I1, I2,| J1, J2,|
|000050b0| 20 4e 43 0a 20 20 20 20 | 20 20 52 45 41 4c 20 20 | NC. | REAL |
|000050c0| 20 20 41 28 49 44 49 4d | 2c 4a 44 49 4d 29 2c 20 | A(IDIM|,JDIM), |
|000050d0| 43 28 2a 29 2c 20 54 52 | 28 36 29 2c 20 42 4c 41 |C(*), TR|(6), BLA|
|000050e0| 4e 4b 0a 0a 44 72 61 77 | 20 61 20 63 6f 6e 74 6f |NK..Draw| a conto|
|000050f0| 75 72 20 6d 61 70 20 6f | 66 20 61 6e 20 61 72 72 |ur map o|f an arr|
|00005100| 61 79 2e 20 54 68 69 73 | 20 72 6f 75 74 69 6e 65 |ay. This| routine|
|00005110| 20 69 73 20 74 68 65 20 | 73 61 6d 65 20 61 73 20 | is the |same as |
|00005120| 50 47 43 4f 4e 53 2c 0a | 65 78 63 65 70 74 20 74 |PGCONS,.|except t|
|00005130| 68 61 74 20 61 72 72 61 | 79 20 65 6c 65 6d 65 6e |hat arra|y elemen|
|00005140| 74 73 20 74 68 61 74 20 | 68 61 76 65 20 74 68 65 |ts that |have the|
|00005150| 20 22 6d 61 67 69 63 20 | 76 61 6c 75 65 22 20 64 | "magic |value" d|
|00005160| 65 66 69 6e 65 64 20 62 | 79 0a 61 72 67 75 6d 65 |efined b|y.argume|
|00005170| 6e 74 20 42 4c 41 4e 4b | 20 61 72 65 20 69 67 6e |nt BLANK| are ign|
|00005180| 6f 72 65 64 2c 20 6d 61 | 6b 69 6e 67 20 67 61 70 |ored, ma|king gap|
|00005190| 73 20 69 6e 20 74 68 65 | 20 63 6f 6e 74 6f 75 72 |s in the| contour|
|000051a0| 20 6d 61 70 2e 20 54 68 | 65 0a 72 6f 75 74 69 6e | map. Th|e.routin|
|000051b0| 65 20 6d 61 79 20 62 65 | 20 75 73 65 66 75 6c 20 |e may be| useful |
|000051c0| 66 6f 72 20 64 61 74 61 | 20 6d 65 61 73 75 72 65 |for data| measure|
|000051d0| 64 20 6f 6e 20 6d 6f 73 | 74 20 62 75 74 20 6e 6f |d on mos|t but no|
|000051e0| 74 20 61 6c 6c 20 6f 66 | 20 74 68 65 0a 70 6f 69 |t all of| the.poi|
|000051f0| 6e 74 73 20 6f 66 20 61 | 20 67 72 69 64 2e 0a 0a |nts of a| grid...|
|00005200| 41 72 67 75 6d 65 6e 74 | 73 3a 0a 20 41 20 20 20 |Argument|s:. A |
|00005210| 20 20 20 28 69 6e 70 75 | 74 29 20 20 3a 20 64 61 | (inpu|t) : da|
|00005220| 74 61 20 61 72 72 61 79 | 2e 0a 20 49 44 49 4d 20 |ta array|.. IDIM |
|00005230| 20 20 28 69 6e 70 75 74 | 29 20 20 3a 20 66 69 72 | (input|) : fir|
|00005240| 73 74 20 64 69 6d 65 6e | 73 69 6f 6e 20 6f 66 20 |st dimen|sion of |
|00005250| 41 2e 0a 20 4a 44 49 4d | 20 20 20 28 69 6e 70 75 |A.. JDIM| (inpu|
|00005260| 74 29 20 20 3a 20 73 65 | 63 6f 6e 64 20 64 69 6d |t) : se|cond dim|
|00005270| 65 6e 73 69 6f 6e 20 6f | 66 20 41 2e 0a 20 49 31 |ension o|f A.. I1|
|00005280| 2c 49 32 20 20 28 69 6e | 70 75 74 29 20 20 3a 20 |,I2 (in|put) : |
|00005290| 72 61 6e 67 65 20 6f 66 | 20 66 69 72 73 74 20 69 |range of| first i|
|000052a0| 6e 64 65 78 20 74 6f 20 | 62 65 20 63 6f 6e 74 6f |ndex to |be conto|
|000052b0| 75 72 65 64 20 28 69 6e | 63 6c 75 73 69 76 65 29 |ured (in|clusive)|
|000052c0| 2e 0a 20 4a 31 2c 4a 32 | 20 20 28 69 6e 70 75 74 |.. J1,J2| (input|
|000052d0| 29 20 20 3a 20 72 61 6e | 67 65 20 6f 66 20 73 65 |) : ran|ge of se|
|000052e0| 63 6f 6e 64 20 69 6e 64 | 65 78 20 74 6f 20 62 65 |cond ind|ex to be|
|000052f0| 20 63 6f 6e 74 6f 75 72 | 65 64 20 28 69 6e 63 6c | contour|ed (incl|
|00005300| 75 73 69 76 65 29 2e 0a | 20 43 20 20 20 20 20 20 |usive)..| C |
|00005310| 28 69 6e 70 75 74 29 20 | 20 3a 20 61 72 72 61 79 |(input) | : array|
|00005320| 20 6f 66 20 63 6f 6e 74 | 6f 75 72 20 6c 65 76 65 | of cont|our leve|
|00005330| 6c 73 20 28 69 6e 20 74 | 68 65 20 73 61 6d 65 20 |ls (in t|he same |
|00005340| 75 6e 69 74 73 20 61 73 | 20 74 68 65 0a 20 20 20 |units as| the. |
|00005350| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00005360| 64 61 74 61 20 69 6e 20 | 61 72 72 61 79 20 41 29 |data in |array A)|
|00005370| 3b 20 64 69 6d 65 6e 73 | 69 6f 6e 20 61 74 20 6c |; dimens|ion at l|
|00005380| 65 61 73 74 20 4e 43 2e | 0a 20 4e 43 20 20 20 20 |east NC.|. NC |
|00005390| 20 28 69 6e 70 75 74 29 | 20 20 3a 20 6e 75 6d 62 | (input)| : numb|
|000053a0| 65 72 20 6f 66 20 63 6f | 6e 74 6f 75 72 20 6c 65 |er of co|ntour le|
|000053b0| 76 65 6c 73 20 28 6c 65 | 73 73 20 74 68 61 6e 20 |vels (le|ss than |
|000053c0| 6f 72 20 65 71 75 61 6c | 20 74 6f 0a 20 20 20 20 |or equal| to. |
|000053d0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 64 | | d|
|000053e0| 69 6d 65 6e 73 69 6f 6e | 20 6f 66 20 43 29 2e 20 |imension| of C). |
|000053f0| 54 68 65 20 61 62 73 6f | 6c 75 74 65 20 76 61 6c |The abso|lute val|
|00005400| 75 65 20 6f 66 20 74 68 | 69 73 0a 20 20 20 20 20 |ue of th|is. |
|00005410| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 61 72 | | ar|
|00005420| 67 75 6d 65 6e 74 20 69 | 73 20 75 73 65 64 20 28 |gument i|s used (|
|00005430| 66 6f 72 20 63 6f 6d 70 | 61 74 69 62 69 6c 69 74 |for comp|atibilit|
|00005440| 79 20 77 69 74 68 20 50 | 47 43 4f 4e 54 2c 0a 20 |y with P|GCONT,. |
|00005450| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00005460| 20 20 77 68 65 72 65 20 | 74 68 65 20 73 69 67 6e | where |the sign|
|00005470| 20 6f 66 20 4e 43 20 69 | 73 20 73 69 67 6e 69 66 | of NC i|s signif|
|00005480| 69 63 61 6e 74 29 2e 0a | 20 54 52 20 20 20 20 20 |icant)..| TR |
|00005490| 28 69 6e 70 75 74 29 20 | 20 3a 20 61 72 72 61 79 |(input) | : array|
|000054a0| 20 64 65 66 69 6e 69 6e | 67 20 61 20 74 72 61 6e | definin|g a tran|
|000054b0| 73 66 6f 72 6d 61 74 69 | 6f 6e 20 62 65 74 77 65 |sformati|on betwe|
|000054c0| 65 6e 20 74 68 65 20 49 | 2c 4a 0a 20 20 20 20 20 |en the I|,J. |
|000054d0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 67 72 | | gr|
|000054e0| 69 64 20 6f 66 20 74 68 | 65 20 61 72 72 61 79 20 |id of th|e array |
|000054f0| 61 6e 64 20 74 68 65 20 | 77 6f 72 6c 64 20 63 6f |and the |world co|
|00005500| 6f 72 64 69 6e 61 74 65 | 73 2e 20 54 68 65 0a 20 |ordinate|s. The. |
|00005510| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00005520| 20 20 77 6f 72 6c 64 20 | 63 6f 6f 72 64 69 6e 61 | world |coordina|
|00005530| 74 65 73 20 6f 66 20 74 | 68 65 20 61 72 72 61 79 |tes of t|he array|
|00005540| 20 70 6f 69 6e 74 20 41 | 28 49 2c 4a 29 20 61 72 | point A|(I,J) ar|
|00005550| 65 0a 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |e. | |
|00005560| 20 20 20 20 20 67 69 76 | 65 6e 20 62 79 3a 0a 20 | giv|en by:. |
|00005570| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00005580| 20 20 20 20 58 20 3d 20 | 54 52 28 31 29 20 2b 20 | X = |TR(1) + |
|00005590| 54 52 28 32 29 2a 49 20 | 2b 20 54 52 28 33 29 2a |TR(2)*I |+ TR(3)*|
|000055a0| 4a 0a 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |J. | |
|000055b0| 20 20 20 20 20 20 20 59 | 20 3d 20 54 52 28 34 29 | Y| = TR(4)|
|000055c0| 20 2b 20 54 52 28 35 29 | 2a 49 20 2b 20 54 52 28 | + TR(5)|*I + TR(|
|000055d0| 36 29 2a 4a 0a 20 20 20 | 20 20 20 20 20 20 20 20 |6)*J. | |
|000055e0| 20 20 20 20 20 20 20 20 | 55 73 75 61 6c 6c 79 20 | |Usually |
|000055f0| 54 52 28 33 29 20 61 6e | 64 20 54 52 28 35 29 20 |TR(3) an|d TR(5) |
|00005600| 61 72 65 20 7a 65 72 6f | 20 2d 20 75 6e 6c 65 73 |are zero| - unles|
|00005610| 73 20 74 68 65 0a 20 20 | 20 20 20 20 20 20 20 20 |s the. | |
|00005620| 20 20 20 20 20 20 20 20 | 20 63 6f 6f 72 64 69 6e | | coordin|
|00005630| 61 74 65 20 74 72 61 6e | 73 66 6f 72 6d 61 74 69 |ate tran|sformati|
|00005640| 6f 6e 20 69 6e 76 6f 6c | 76 65 73 20 61 20 72 6f |on invol|ves a ro|
|00005650| 74 61 74 69 6f 6e 0a 20 | 20 20 20 20 20 20 20 20 |tation. | |
|00005660| 20 20 20 20 20 20 20 20 | 20 20 6f 72 20 73 68 65 | | or she|
|00005670| 61 72 2e 0a 20 42 4c 41 | 4e 4b 20 20 20 28 69 6e |ar.. BLA|NK (in|
|00005680| 70 75 74 29 20 3a 20 65 | 6c 65 6d 65 6e 74 73 20 |put) : e|lements |
|00005690| 6f 66 20 61 72 72 61 79 | 20 41 20 74 68 61 74 20 |of array| A that |
|000056a0| 61 72 65 20 65 78 61 63 | 74 6c 79 20 65 71 75 61 |are exac|tly equa|
|000056b0| 6c 20 74 6f 0a 20 20 20 | 20 20 20 20 20 20 20 20 |l to. | |
|000056c0| 20 20 20 20 20 20 20 20 | 74 68 69 73 20 76 61 6c | |this val|
|000056d0| 75 65 20 61 72 65 20 69 | 67 6e 6f 72 65 64 20 28 |ue are i|gnored (|
|000056e0| 62 6c 61 6e 6b 65 64 29 | 2e 0a 0a 0a 2d 2d 2d 2d |blanked)|....----|
|000056f0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00005700| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00005710| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00005720| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00005730| 2d 2d 2d 2d 0a 4d 6f 64 | 75 6c 65 3a 20 50 47 43 |----.Mod|ule: PGC|
|00005740| 4f 4e 4c 20 2d 2d 20 6c | 61 62 65 6c 20 63 6f 6e |ONL -- l|abel con|
|00005750| 74 6f 75 72 20 6d 61 70 | 20 6f 66 20 61 20 32 44 |tour map| of a 2D|
|00005760| 20 64 61 74 61 20 61 72 | 72 61 79 20 0a 2d 2d 2d | data ar|ray .---|
|00005770| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00005780| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00005790| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|000057a0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|000057b0| 2d 2d 2d 2d 2d 0a 0a 20 | 20 20 20 20 20 53 55 42 |-----.. | SUB|
|000057c0| 52 4f 55 54 49 4e 45 20 | 50 47 43 4f 4e 4c 20 28 |ROUTINE |PGCONL (|
|000057d0| 41 2c 20 49 44 49 4d 2c | 20 4a 44 49 4d 2c 20 49 |A, IDIM,| JDIM, I|
|000057e0| 31 2c 20 49 32 2c 20 4a | 31 2c 20 4a 32 2c 20 43 |1, I2, J|1, J2, C|
|000057f0| 2c 20 54 52 2c 0a 20 20 | 20 20 20 31 20 20 20 20 |, TR,. | 1 |
|00005800| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 4c | | L|
|00005810| 41 42 45 4c 2c 20 49 4e | 54 56 41 4c 2c 20 4d 49 |ABEL, IN|TVAL, MI|
|00005820| 4e 49 4e 54 29 0a 20 20 | 20 20 20 20 49 4e 54 45 |NINT). | INTE|
|00005830| 47 45 52 20 49 44 49 4d | 2c 20 4a 44 49 4d 2c 20 |GER IDIM|, JDIM, |
|00005840| 49 31 2c 20 4a 31 2c 20 | 49 32 2c 20 4a 32 2c 20 |I1, J1, |I2, J2, |
|00005850| 49 4e 54 56 41 4c 2c 20 | 4d 49 4e 49 4e 54 0a 20 |INTVAL, |MININT. |
|00005860| 20 20 20 20 20 52 45 41 | 4c 20 41 28 49 44 49 4d | REA|L A(IDIM|
|00005870| 2c 4a 44 49 4d 29 2c 20 | 43 2c 20 54 52 28 36 29 |,JDIM), |C, TR(6)|
|00005880| 0a 20 20 20 20 20 20 43 | 48 41 52 41 43 54 45 52 |. C|HARACTER|
|00005890| 2a 28 2a 29 20 4c 41 42 | 45 4c 0a 0a 4c 61 62 65 |*(*) LAB|EL..Labe|
|000058a0| 6c 20 61 20 63 6f 6e 74 | 6f 75 72 20 6d 61 70 20 |l a cont|our map |
|000058b0| 64 72 61 77 6e 20 77 69 | 74 68 20 72 6f 75 74 69 |drawn wi|th routi|
|000058c0| 6e 65 20 50 47 43 4f 4e | 54 2e 20 52 6f 75 74 69 |ne PGCON|T. Routi|
|000058d0| 6e 65 20 50 47 43 4f 4e | 54 20 73 68 6f 75 6c 64 |ne PGCON|T should|
|000058e0| 0a 62 65 20 63 61 6c 6c | 65 64 20 66 69 72 73 74 |.be call|ed first|
|000058f0| 20 74 6f 20 64 72 61 77 | 20 74 68 65 20 63 6f 6e | to draw| the con|
|00005900| 74 6f 75 72 20 6c 69 6e | 65 73 2c 20 74 68 65 6e |tour lin|es, then|
|00005910| 20 74 68 69 73 20 72 6f | 75 74 69 6e 65 20 73 68 | this ro|utine sh|
|00005920| 6f 75 6c 64 20 62 65 0a | 63 61 6c 6c 65 64 20 74 |ould be.|called t|
|00005930| 6f 20 61 64 64 20 74 68 | 65 20 6c 61 62 65 6c 73 |o add th|e labels|
|00005940| 2e 20 4c 61 62 65 6c 73 | 20 61 72 65 20 77 72 69 |. Labels| are wri|
|00005950| 74 74 65 6e 20 61 74 20 | 69 6e 74 65 72 76 61 6c |tten at |interval|
|00005960| 73 20 61 6c 6f 6e 67 20 | 74 68 65 0a 63 6f 6e 74 |s along |the.cont|
|00005970| 6f 75 72 20 6c 69 6e 65 | 73 2c 20 63 65 6e 74 65 |our line|s, cente|
|00005980| 72 65 64 20 6f 6e 20 74 | 68 65 20 63 6f 6e 74 6f |red on t|he conto|
|00005990| 75 72 20 6c 69 6e 65 73 | 20 77 69 74 68 20 6c 65 |ur lines| with le|
|000059a0| 74 74 65 72 69 6e 67 20 | 61 6c 69 67 6e 65 64 0a |ttering |aligned.|
|000059b0| 69 6e 20 74 68 65 20 75 | 70 2d 68 69 6c 6c 20 64 |in the u|p-hill d|
|000059c0| 69 72 65 63 74 69 6f 6e | 2e 20 4c 61 62 65 6c 73 |irection|. Labels|
|000059d0| 20 61 72 65 20 6f 70 61 | 71 75 65 2c 20 73 6f 20 | are opa|que, so |
|000059e0| 61 20 70 61 72 74 20 6f | 66 20 74 68 65 20 75 6e |a part o|f the un|
|000059f0| 64 65 72 2d 0a 6c 79 69 | 6e 67 20 63 6f 6e 74 6f |der-.lyi|ng conto|
|00005a00| 75 72 20 6c 69 6e 65 20 | 69 73 20 6f 62 73 63 75 |ur line |is obscu|
|00005a10| 72 65 64 20 62 79 20 74 | 68 65 20 6c 61 62 65 6c |red by t|he label|
|00005a20| 2e 20 4c 61 62 65 6c 73 | 20 75 73 65 20 74 68 65 |. Labels| use the|
|00005a30| 20 63 75 72 72 65 6e 74 | 0a 61 74 74 72 69 62 75 | current|.attribu|
|00005a40| 74 65 73 20 28 63 68 61 | 72 61 63 74 65 72 20 68 |tes (cha|racter h|
|00005a50| 65 69 67 68 74 2c 20 6c | 69 6e 65 20 77 69 64 74 |eight, l|ine widt|
|00005a60| 68 2c 20 63 6f 6c 6f 72 | 20 69 6e 64 65 78 2c 20 |h, color| index, |
|00005a70| 63 68 61 72 61 63 74 65 | 72 0a 66 6f 6e 74 29 2e |characte|r.font).|
|00005a80| 0a 0a 54 68 65 20 66 69 | 72 73 74 20 39 20 61 72 |..The fi|rst 9 ar|
|00005a90| 67 75 6d 65 6e 74 73 20 | 61 72 65 20 74 68 65 20 |guments |are the |
|00005aa0| 73 61 6d 65 20 61 73 20 | 74 68 6f 73 65 20 73 75 |same as |those su|
|00005ab0| 70 70 6c 69 65 64 20 74 | 6f 20 50 47 43 4f 4e 54 |pplied t|o PGCONT|
|00005ac0| 2c 20 61 6e 64 0a 73 68 | 6f 75 6c 64 20 6e 6f 72 |, and.sh|ould nor|
|00005ad0| 6d 61 6c 6c 79 20 62 65 | 20 69 64 65 6e 74 69 63 |mally be| identic|
|00005ae0| 61 6c 20 74 6f 20 74 68 | 6f 73 65 20 75 73 65 64 |al to th|ose used|
|00005af0| 20 77 69 74 68 20 50 47 | 43 4f 4e 54 2e 20 4e 6f | with PG|CONT. No|
|00005b00| 74 65 20 74 68 61 74 0a | 6f 6e 6c 79 20 6f 6e 65 |te that.|only one|
|00005b10| 20 63 6f 6e 74 6f 75 72 | 20 6c 65 76 65 6c 20 63 | contour| level c|
|00005b20| 61 6e 20 62 65 20 73 70 | 65 63 69 66 69 65 64 3b |an be sp|ecified;|
|00005b30| 20 74 6f 6c 61 62 65 6c | 20 6d 6f 72 65 20 63 6f | tolabel| more co|
|00005b40| 6e 74 6f 75 72 73 2c 20 | 63 61 6c 6c 0a 50 47 43 |ntours, |call.PGC|
|00005b50| 4f 4e 4c 20 66 6f 72 20 | 65 61 63 68 20 6c 65 76 |ONL for |each lev|
|00005b60| 65 6c 2e 0a 0a 54 68 65 | 20 4c 61 62 65 6c 20 69 |el...The| Label i|
|00005b70| 73 20 73 75 70 70 6c 69 | 65 64 20 61 73 20 61 20 |s suppli|ed as a |
|00005b80| 63 68 61 72 61 63 74 65 | 72 20 73 74 72 69 6e 67 |characte|r string|
|00005b90| 20 69 6e 20 61 72 67 75 | 6d 65 6e 74 20 4c 41 42 | in argu|ment LAB|
|00005ba0| 45 4c 2e 0a 0a 54 68 65 | 20 73 70 61 63 69 6e 67 |EL...The| spacing|
|00005bb0| 20 6f 66 20 6c 61 62 65 | 6c 73 20 61 6c 6f 6e 67 | of labe|ls along|
|00005bc0| 20 74 68 65 20 63 6f 6e | 74 6f 75 72 20 69 73 20 | the con|tour is |
|00005bd0| 73 70 65 63 69 66 69 65 | 64 20 62 79 20 70 61 72 |specifie|d by par|
|00005be0| 61 6d 65 74 65 72 73 0a | 49 4e 54 56 41 4c 20 61 |ameters.|INTVAL a|
|00005bf0| 6e 64 20 4d 49 4e 49 4e | 54 2e 20 54 68 65 20 72 |nd MININ|T. The r|
|00005c00| 6f 75 74 69 6e 65 20 66 | 6f 6c 6c 6f 77 73 20 74 |outine f|ollows t|
|00005c10| 68 65 20 63 6f 6e 74 6f | 75 72 20 74 68 72 6f 75 |he conto|ur throu|
|00005c20| 67 68 20 74 68 65 0a 61 | 72 72 61 79 2c 20 63 6f |gh the.a|rray, co|
|00005c30| 75 6e 74 69 6e 67 20 74 | 68 65 20 6e 75 6d 62 65 |unting t|he numbe|
|00005c40| 72 20 6f 66 20 63 65 6c | 6c 73 20 74 68 61 74 20 |r of cel|ls that |
|00005c50| 74 68 65 20 63 6f 6e 74 | 6f 75 72 20 63 72 6f 73 |the cont|our cros|
|00005c60| 73 65 73 2e 20 54 68 65 | 0a 66 69 72 73 74 20 6c |ses. The|.first l|
|00005c70| 61 62 65 6c 20 77 69 6c | 6c 20 62 65 20 77 72 69 |abel wil|l be wri|
|00005c80| 74 74 65 6e 20 69 6e 20 | 74 68 65 20 4d 49 4e 49 |tten in |the MINI|
|00005c90| 4e 54 27 74 68 20 63 65 | 6c 6c 2c 20 61 6e 64 20 |NT'th ce|ll, and |
|00005ca0| 61 64 64 69 74 69 6f 6e | 61 6c 0a 6c 61 62 65 6c |addition|al.label|
|00005cb0| 73 20 77 69 6c 6c 20 62 | 65 20 77 72 69 74 74 65 |s will b|e writte|
|00005cc0| 6e 20 65 76 65 72 79 20 | 49 4e 54 56 41 4c 20 63 |n every |INTVAL c|
|00005cd0| 65 6c 6c 73 20 74 68 65 | 72 65 61 66 74 65 72 2e |ells the|reafter.|
|00005ce0| 20 41 20 63 6f 6e 74 6f | 75 72 0a 74 68 61 74 20 | A conto|ur.that |
|00005cf0| 63 72 6f 73 73 65 73 20 | 6c 65 73 73 20 74 68 61 |crosses |less tha|
|00005d00| 6e 20 4d 49 4e 49 4e 54 | 20 63 65 6c 6c 73 20 77 |n MININT| cells w|
|00005d10| 69 6c 6c 20 6e 6f 74 20 | 62 65 20 6c 61 62 65 6c |ill not |be label|
|00005d20| 6c 65 64 2e 20 53 6f 6d | 65 0a 65 78 70 65 72 69 |led. Som|e.experi|
|00005d30| 6d 65 6e 74 61 74 69 6f | 6e 20 6d 61 79 20 62 65 |mentatio|n may be|
|00005d40| 20 6e 65 65 64 65 64 20 | 74 6f 20 67 65 74 20 73 | needed |to get s|
|00005d50| 61 74 69 73 66 61 63 74 | 6f 72 79 20 72 65 73 75 |atisfact|ory resu|
|00005d60| 6c 74 73 3b 20 61 20 67 | 6f 6f 64 0a 70 6c 61 63 |lts; a g|ood.plac|
|00005d70| 65 20 74 6f 20 73 74 61 | 72 74 20 69 73 20 49 4e |e to sta|rt is IN|
|00005d80| 54 56 41 4c 3d 32 30 2c | 20 4d 49 4e 49 4e 54 3d |TVAL=20,| MININT=|
|00005d90| 31 30 2e 0a 0a 41 72 67 | 75 6d 65 6e 74 73 3a 0a |10...Arg|uments:.|
|00005da0| 20 41 20 20 20 20 20 20 | 28 69 6e 70 75 74 29 20 | A |(input) |
|00005db0| 3a 20 64 61 74 61 20 61 | 72 72 61 79 2e 0a 20 49 |: data a|rray.. I|
|00005dc0| 44 49 4d 20 20 20 28 69 | 6e 70 75 74 29 20 3a 20 |DIM (i|nput) : |
|00005dd0| 66 69 72 73 74 20 64 69 | 6d 65 6e 73 69 6f 6e 20 |first di|mension |
|00005de0| 6f 66 20 41 2e 0a 20 4a | 44 49 4d 20 20 20 28 69 |of A.. J|DIM (i|
|00005df0| 6e 70 75 74 29 20 3a 20 | 73 65 63 6f 6e 64 20 64 |nput) : |second d|
|00005e00| 69 6d 65 6e 73 69 6f 6e | 20 6f 66 20 41 2e 0a 20 |imension| of A.. |
|00005e10| 49 31 2c 20 49 32 20 28 | 69 6e 70 75 74 29 20 3a |I1, I2 (|input) :|
|00005e20| 20 72 61 6e 67 65 20 6f | 66 20 66 69 72 73 74 20 | range o|f first |
|00005e30| 69 6e 64 65 78 20 74 6f | 20 62 65 20 63 6f 6e 74 |index to| be cont|
|00005e40| 6f 75 72 65 64 20 28 69 | 6e 63 6c 75 73 69 76 65 |oured (i|nclusive|
|00005e50| 29 2e 0a 20 4a 31 2c 20 | 4a 32 20 28 69 6e 70 75 |).. J1, |J2 (inpu|
|00005e60| 74 29 20 3a 20 72 61 6e | 67 65 20 6f 66 20 73 65 |t) : ran|ge of se|
|00005e70| 63 6f 6e 64 20 69 6e 64 | 65 78 20 74 6f 20 62 65 |cond ind|ex to be|
|00005e80| 20 63 6f 6e 74 6f 75 72 | 65 64 20 28 69 6e 63 6c | contour|ed (incl|
|00005e90| 75 73 69 76 65 29 2e 0a | 20 43 20 20 20 20 20 20 |usive)..| C |
|00005ea0| 28 69 6e 70 75 74 29 20 | 3a 20 74 68 65 20 6c 65 |(input) |: the le|
|00005eb0| 76 65 6c 20 6f 66 20 74 | 68 65 20 63 6f 6e 74 6f |vel of t|he conto|
|00005ec0| 75 72 20 74 6f 20 62 65 | 20 6c 61 62 65 6c 6c 65 |ur to be| labelle|
|00005ed0| 64 20 28 6f 6e 65 20 6f | 66 20 74 68 65 0a 20 20 |d (one o|f the. |
|00005ee0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00005ef0| 76 61 6c 75 65 73 20 67 | 69 76 65 6e 20 74 6f 20 |values g|iven to |
|00005f00| 50 47 43 4f 4e 54 29 2e | 0a 20 54 52 20 20 20 20 |PGCONT).|. TR |
|00005f10| 20 28 69 6e 70 75 74 29 | 20 3a 20 61 72 72 61 79 | (input)| : array|
|00005f20| 20 64 65 66 69 6e 69 6e | 67 20 61 20 74 72 61 6e | definin|g a tran|
|00005f30| 73 66 6f 72 6d 61 74 69 | 6f 6e 20 62 65 74 77 65 |sformati|on betwe|
|00005f40| 65 6e 20 74 68 65 20 49 | 2c 4a 0a 20 20 20 20 20 |en the I|,J. |
|00005f50| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 67 72 69 | | gri|
|00005f60| 64 20 6f 66 20 74 68 65 | 20 61 72 72 61 79 20 61 |d of the| array a|
|00005f70| 6e 64 20 74 68 65 20 77 | 6f 72 6c 64 20 63 6f 6f |nd the w|orld coo|
|00005f80| 72 64 69 6e 61 74 65 73 | 2e 0a 20 20 20 20 20 20 |rdinates|.. |
|00005f90| 20 20 20 20 20 20 20 20 | 20 20 20 20 54 68 65 20 | | The |
|00005fa0| 77 6f 72 6c 64 20 63 6f | 6f 72 64 69 6e 61 74 65 |world co|ordinate|
|00005fb0| 73 20 6f 66 20 74 68 65 | 20 61 72 72 61 79 20 70 |s of the| array p|
|00005fc0| 6f 69 6e 74 20 41 28 49 | 2c 4a 29 0a 20 20 20 20 |oint A(I|,J). |
|00005fd0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 61 72 | | ar|
|00005fe0| 65 20 67 69 76 65 6e 20 | 62 79 3a 0a 20 20 20 20 |e given |by:. |
|00005ff0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00006000| 58 20 3d 20 54 52 28 31 | 29 20 2b 20 54 52 28 32 |X = TR(1|) + TR(2|
|00006010| 29 2a 49 20 2b 20 54 52 | 28 33 29 2a 4a 0a 20 20 |)*I + TR|(3)*J. |
|00006020| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00006030| 20 20 59 20 3d 20 54 52 | 28 34 29 20 2b 20 54 52 | Y = TR|(4) + TR|
|00006040| 28 35 29 2a 49 20 2b 20 | 54 52 28 36 29 2a 4a 0a |(5)*I + |TR(6)*J.|
|00006050| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00006060| 20 20 55 73 75 61 6c 6c | 79 20 54 52 28 33 29 20 | Usuall|y TR(3) |
|00006070| 61 6e 64 20 54 52 28 35 | 29 20 61 72 65 20 7a 65 |and TR(5|) are ze|
|00006080| 72 6f 20 2d 20 75 6e 6c | 65 73 73 20 74 68 65 0a |ro - unl|ess the.|
|00006090| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000060a0| 20 20 63 6f 6f 72 64 69 | 6e 61 74 65 20 74 72 61 | coordi|nate tra|
|000060b0| 6e 73 66 6f 72 6d 61 74 | 69 6f 6e 20 69 6e 76 6f |nsformat|ion invo|
|000060c0| 6c 76 65 73 20 61 20 72 | 6f 74 61 74 69 6f 6e 20 |lves a r|otation |
|000060d0| 6f 72 0a 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |or. | |
|000060e0| 20 20 20 20 20 73 68 65 | 61 72 2e 0a 20 4c 41 42 | she|ar.. LAB|
|000060f0| 45 4c 20 20 28 69 6e 70 | 75 74 29 20 3a 20 63 68 |EL (inp|ut) : ch|
|00006100| 61 72 61 63 74 65 72 20 | 73 74 72 69 6e 67 73 20 |aracter |strings |
|00006110| 74 6f 20 62 65 20 75 73 | 65 64 20 74 6f 20 6c 61 |to be us|ed to la|
|00006120| 62 65 6c 20 74 68 65 20 | 73 70 65 63 69 66 69 65 |bel the |specifie|
|00006130| 64 0a 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |d. | |
|00006140| 20 20 20 20 63 6f 6e 74 | 6f 75 72 2e 20 4c 65 61 | cont|our. Lea|
|00006150| 64 69 6e 67 20 61 6e 64 | 20 74 72 61 69 6c 69 6e |ding and| trailin|
|00006160| 67 20 62 6c 61 6e 6b 20 | 73 70 61 63 65 73 20 61 |g blank |spaces a|
|00006170| 72 65 0a 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |re. | |
|00006180| 20 20 20 20 20 69 67 6e | 6f 72 65 64 2e 0a 20 49 | ign|ored.. I|
|00006190| 4e 54 56 41 4c 20 28 69 | 6e 70 75 74 29 20 3a 20 |NTVAL (i|nput) : |
|000061a0| 73 70 61 63 69 6e 67 20 | 61 6c 6f 6e 67 20 74 68 |spacing |along th|
|000061b0| 65 20 63 6f 6e 74 6f 75 | 72 20 62 65 74 77 65 65 |e contou|r betwee|
|000061c0| 6e 20 6c 61 62 65 6c 73 | 2c 20 69 6e 0a 20 20 20 |n labels|, in. |
|000061d0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 67 | | g|
|000061e0| 72 69 64 20 63 65 6c 6c | 73 2e 0a 20 4d 49 4e 49 |rid cell|s.. MINI|
|000061f0| 4e 54 20 28 69 6e 70 75 | 74 29 20 3a 20 63 6f 6e |NT (inpu|t) : con|
|00006200| 74 6f 75 72 73 20 74 68 | 61 74 20 63 72 6f 73 73 |tours th|at cross|
|00006210| 20 6c 65 73 73 20 74 68 | 61 6e 20 4d 49 4e 49 4e | less th|an MININ|
|00006220| 54 20 63 65 6c 6c 73 0a | 20 20 20 20 20 20 20 20 |T cells.| |
|00006230| 20 20 20 20 20 20 20 20 | 20 20 77 69 6c 6c 20 6e | | will n|
|00006240| 6f 74 20 62 65 20 6c 61 | 62 65 6c 6c 65 64 2e 0a |ot be la|belled..|
|00006250| 0a 0a 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |..------|--------|
|00006260| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00006270| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00006280| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00006290| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 0a 4d 6f 64 75 6c |--------|--.Modul|
|000062a0| 65 3a 20 50 47 43 4f 4e | 53 20 2d 2d 20 63 6f 6e |e: PGCON|S -- con|
|000062b0| 74 6f 75 72 20 6d 61 70 | 20 6f 66 20 61 20 32 44 |tour map| of a 2D|
|000062c0| 20 64 61 74 61 20 61 72 | 72 61 79 20 28 66 61 73 | data ar|ray (fas|
|000062d0| 74 20 61 6c 67 6f 72 69 | 74 68 6d 29 0a 2d 2d 2d |t algori|thm).---|
|000062e0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|000062f0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00006300| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00006310| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00006320| 2d 2d 2d 2d 2d 0a 0a 20 | 20 20 20 20 20 53 55 42 |-----.. | SUB|
|00006330| 52 4f 55 54 49 4e 45 20 | 50 47 43 4f 4e 53 20 28 |ROUTINE |PGCONS (|
|00006340| 41 2c 20 49 44 49 4d 2c | 20 4a 44 49 4d 2c 20 49 |A, IDIM,| JDIM, I|
|00006350| 31 2c 20 49 32 2c 20 4a | 31 2c 20 4a 32 2c 20 43 |1, I2, J|1, J2, C|
|00006360| 2c 20 4e 43 2c 20 54 52 | 29 0a 20 20 20 20 20 20 |, NC, TR|). |
|00006370| 49 4e 54 45 47 45 52 20 | 49 44 49 4d 2c 20 4a 44 |INTEGER |IDIM, JD|
|00006380| 49 4d 2c 20 49 31 2c 20 | 49 32 2c 20 4a 31 2c 20 |IM, I1, |I2, J1, |
|00006390| 4a 32 2c 20 4e 43 0a 20 | 20 20 20 20 20 52 45 41 |J2, NC. | REA|
|000063a0| 4c 20 20 20 20 41 28 49 | 44 49 4d 2c 4a 44 49 4d |L A(I|DIM,JDIM|
|000063b0| 29 2c 20 43 28 2a 29 2c | 20 54 52 28 36 29 0a 0a |), C(*),| TR(6)..|
|000063c0| 44 72 61 77 20 61 20 63 | 6f 6e 74 6f 75 72 20 6d |Draw a c|ontour m|
|000063d0| 61 70 20 6f 66 20 61 6e | 20 61 72 72 61 79 2e 20 |ap of an| array. |
|000063e0| 54 68 65 20 6d 61 70 20 | 69 73 20 74 72 75 6e 63 |The map |is trunc|
|000063f0| 61 74 65 64 20 69 66 0a | 6e 65 63 65 73 73 61 72 |ated if.|necessar|
+--------+-------------------------+-------------------------+--------+--------+
Only 25.0 KB of data is shown above.